Hi,
I have an windows form....where i m doing authentication.
When a user clicks a button I am showing a login form where i am doing the authentication. If the user is authenticate I need to make the panel visible which the user has clicked before authentication in the main form.
How can I change the property of a form from another form.
If anyone has some idea...do help me...
thanks in advance...
Changing the visibility property of one form from another
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Tess3 pointsPosted Jan 26, 2007, 1:28 PM EST
I'm new to C#, so I'm not sure if this will work for you, but I thought I'd suggest it anyway....
frmDetail myForm = new frmDetail();
foreach (Control c in myForm.Controls)
myForm.Show();