how to travel from one form to another in C#
private void btnLogin_Click(object sender, EventArgs e)
{
this.Close(); //Close Form1,the current open form.
Form2 frm2 = new Form2();
frm2.Show(); // Launch Form2,the new form.
}
how to travel from one form to another in C#
private void btnLogin_Click(object sender, EventArgs e)
{
this.Close(); //Close Form1,the current open form.
Form2 frm2 = new Form2();
frm2.Show(); // Launch Form2,the new form.
}
Open another form with C# Winforms
Form myForm = new myForm();
myForm.Show();
//If you want to close the current form after the new one opens, then write in a new line, "this.Close();"
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us