Exemple #1
0
        private void BtnOut_Click(object sender, EventArgs e)
        {
            this.Hide();
            frmAccount frm = new frmAccount();

            frm.ShowDialog();
        }
Exemple #2
0
 private void BtnAdmin_Click(object sender, EventArgs e)
 {
     using (frmAccount frm = new frmAccount())
     {
         this.Hide();
         frm.ShowDialog();
     }
 }
Exemple #3
0
        private void Button2_Click(object sender, EventArgs e)
        {
            this.Hide();

            using (frmAccount frm = new frmAccount())
            {
                frm.ShowDialog();
            }
        }