J
johnb41
I've been frustrating over this now for almost 2 full days. I hope
someone can shed some light...
I have 2 forms, Form1 and Form2. Both these forms contain the same
UserControl.
In my app, i need to hide form2, and show Form1; and also output text
on a label control in the UserControl.
Here's the essentials of the code: (both Form1 and Form2 are "public"
so I can work with them from anywhere in my code)
Form2.hide()
Form1.visible = true
Usercontrol1.Label1.text = "lorum ipsum dolor"
The label text always shows up on Form2. How can I get this text to
show up on Form1?
Thanks!
John
someone can shed some light...
I have 2 forms, Form1 and Form2. Both these forms contain the same
UserControl.
In my app, i need to hide form2, and show Form1; and also output text
on a label control in the UserControl.
Here's the essentials of the code: (both Form1 and Form2 are "public"
so I can work with them from anywhere in my code)
Form2.hide()
Form1.visible = true
Usercontrol1.Label1.text = "lorum ipsum dolor"
The label text always shows up on Form2. How can I get this text to
show up on Form1?
Thanks!
John