Example #1
0
        private void Button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            AddNewEmployee an = new AddNewEmployee();

            an.ShowDialog();
        }
Example #2
0
 private void Button2_Click(object sender, EventArgs e)
 {
     try
     {
         this.Hide();
         AddNewEmployee an = new AddNewEmployee();
         an.ShowDialog();
     }
     catch (Exception ex) { }
 }