Пример #1
0
        private void BtnOut_Click(object sender, EventArgs e)
        {
            this.Hide();
            frmAccount frm = new frmAccount();

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

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