/// <summary> /// When user clicks on create an account /// </summary> /// <param name="sender">System.Windows.Forms.Button</param> /// <param name="e">System.Windows.Forms.MouseEventArgs</param> private void NewUserBtn_Click(object sender, EventArgs e) { Hide(); NewUserForm newUserForm = new NewUserForm(); newUserForm.Show(); }
private void NewUser_bt_Click(object sender, EventArgs e) { NewUserForm uf = new NewUserForm(); uf.Show(); this.Close(); }
// Shows a registration form and hide login form public static void ShowNewUserForm(LoginForm loginForm) { NewUserForm newUserForm = new NewUserForm(); loginForm.Hide(); newUserForm.Show(); }
private void yeniKullanıcıToolStripMenuItem_Click(object sender, EventArgs e) { NewUserForm newUserForm = new NewUserForm(); newUserForm.MdiParent = this; newUserForm.WindowState = FormWindowState.Maximized; newUserForm.Show(); }