H
Hrvoje Voda
I' using this code to call a loginForm(that form is in another classLibrary)
This is a Main Form from witch I'm calling login form:
void Login()
{
LoginForm lf = new LoginForm();
this.AddOwnedForm(lf);
lf.ShowDialog(this);
}
private void MainForm_Load(object sender, EventArgs e)
{
Login();
}
Problem is that I don't see MainForm under the LoginForm.
Why?
Hrcko
This is a Main Form from witch I'm calling login form:
void Login()
{
LoginForm lf = new LoginForm();
this.AddOwnedForm(lf);
lf.ShowDialog(this);
}
private void MainForm_Load(object sender, EventArgs e)
{
Login();
}
Problem is that I don't see MainForm under the LoginForm.
Why?
Hrcko