alvinucsk
New member
- Joined
- Apr 9, 2012
- Messages
- 1
- Programming Experience
- 5-10
Hi there i have 2 forms
Form #1: a button when click, loads form 2
Form #2: has a label... On form load it has
Label1.Text = String.Format("Label.Visible property is {0}", Label1.Visible)
...
behavior, when click the button from form 1, and loads form 2... it shows that "Label.Visible property is True"
and close Form 2, directs me back to form1.
when i click the button on form 1 to load form 2. it shows "Label.Visible property is False"
and it displays the text but has Label1.Visibility as False. any1 can explain why?
Here is the code... Im running VS2010 with .net 4.0 framework
Form #1: a button when click, loads form 2
Form #2: has a label... On form load it has
Label1.Text = String.Format("Label.Visible property is {0}", Label1.Visible)
...
behavior, when click the button from form 1, and loads form 2... it shows that "Label.Visible property is True"
and close Form 2, directs me back to form1.
when i click the button on form 1 to load form 2. it shows "Label.Visible property is False"
and it displays the text but has Label1.Visibility as False. any1 can explain why?
Here is the code... Im running VS2010 with .net 4.0 framework
Attachments
Last edited by a moderator: