The problem is, that a criteria (string argument) should be passed after ShowDialog called. Otherwise, CustomForm will close before ShowDialog called -> runtime error.
Show is not a good desicion, cause it allows performing manual actions on the main form while secondary is up, carrying message...
Show is not a good desicion, cause it allows performing manual actions on the main form while secondary is up, carrying message...
Comment