예제 #1
0
        private void back_Click(object sender, EventArgs e)
        {
            this.Hide();
            AccountantDashboard eD = new AccountantDashboard();

            eD.ShowDialog();
            this.Close();
        }
예제 #2
0
 private void AdminLogin_Click(object sender, EventArgs e)
 {
     Accountant.loginAccountant(adminName.Text.Trim(), AdminPass.Text.Trim());
     if (showForm == true)
     {
         this.Hide();
         AccountantDashboard aD = new AccountantDashboard();
         aD.ShowDialog();
         this.Close();
     }
 }