Exemple #1
0
 private void button8_Click(object sender, EventArgs e)
 {
     MenuLogin frm = new MenuLogin();
     frm.MdiParent = this.ParentForm;
     this.Close();
     frm.Show();
 }
Exemple #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     this.DialogResult = DialogResult.Cancel;
     MenuLogin frm = new MenuLogin();
     frm.MdiParent = this.ParentForm;
     this.Close();
     frm.Show();
 }