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...
Loading
TessPosted Jan 26, 2007, 6:28 PM
I'm new to C#, so I'm not sure if this will work for you, but I thought I'd suggest it anyway....
foreach (Control c in myForm.Controls) if (c.Name == "thisControl") true; }frmDetail myForm = new frmDetail();
}
myForm.Show();