Exemplo n.º 1
0
        private void back_Click(object sender, EventArgs e)
        {
            this.Hide();
            AccountantDashboard eD = new AccountantDashboard();

            eD.ShowDialog();
            this.Close();
        }
Exemplo n.º 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();
     }
 }