J
jay
I'm trying to open up an existing form from my main form. In that new form,
I want to pass a value to a starting form from a button click.
I'm using:
Form2 f = new Form2()
f.Show()
but how do I reference the Form1 from the Form2?
I tried using ParentForm property, but unsuccessfully.
I would also like to know how to open this new form (Form2) modally.
thank you,
jay
I want to pass a value to a starting form from a button click.
I'm using:
Form2 f = new Form2()
f.Show()
but how do I reference the Form1 from the Form2?
I tried using ParentForm property, but unsuccessfully.
I would also like to know how to open this new form (Form2) modally.
thank you,
jay