Beispiel #1
0
        private void emp_Click(object sender, EventArgs e)
        {
            this.Hide();
            EmpolyeeForm empForm = new EmpolyeeForm();

            empForm.ShowDialog();
        }
Beispiel #2
0
 private void getPass_Click(object sender, EventArgs e)
 {
     this.Hide();
     s = passText.Text;
     if (s == "admin")
     {
         AccountantForm accForm = new AccountantForm();
         accForm.Show();
     }
     else
     {
         EmpolyeeForm empForm = new EmpolyeeForm();
         empForm.Show();
     }
 }