I have a winform that needs to be loaded to update its controls’ values or properties, before it is to be shown.
I found a stackoverflow question asking the same thing, but it’s answer doesn’t really help me. Load a form without showing it
Any sample code will be appreciated. Thank you,
Create the form like this:
Assuming you have implemented a method on
MyFormto update the values, call it:Show the form in the usual way: