G
Guest
Dear All,
I wish to populate various fields in an additional windows form which is
triggered by the main app.
Passing the information from the main app to the dialog is proving to be
difficult. Obviously I don't want to alter the controls' modifiers and thus I
would normally create an additional constructor (like in VC++) to take care
of accepting the variables.
In other words:
Form2()
Form2(int param1, string param2)
My question is: Is this approach the normal way to go? And if so, how does
one create an alternate contructor? Or is that something which belongs to C++.
Any help really appreciated.
Thanks
Greg
I wish to populate various fields in an additional windows form which is
triggered by the main app.
Passing the information from the main app to the dialog is proving to be
difficult. Obviously I don't want to alter the controls' modifiers and thus I
would normally create an additional constructor (like in VC++) to take care
of accepting the variables.
In other words:
Form2()
Form2(int param1, string param2)
My question is: Is this approach the normal way to go? And if so, how does
one create an alternate contructor? Or is that something which belongs to C++.
Any help really appreciated.
Thanks
Greg