J
Jonathan Wood
I want to create a Windows form that requires an argument in order to
display the form.
I tried overriding ShowDialog() to give it an argument (I had to figure out
the method syntax as I couldn't find anyway to create an override
automatically). This appears to work but it doesn't replace the version that
takes no argument.
Is there an easy way to require a form always is passed an argument?
Thanks.
Jonathan
display the form.
I tried overriding ShowDialog() to give it an argument (I had to figure out
the method syntax as I couldn't find anyway to create an override
automatically). This appears to work but it doesn't replace the version that
takes no argument.
Is there an easy way to require a form always is passed an argument?
Thanks.
Jonathan