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

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

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