private void btnAddnewCategory_Click(object sender, EventArgs e)
        {
            AddEmployee amp = AddEmployee.getInstance();

            amp.Show();
            this.Hide();
        }
Ejemplo n.º 2
0
        private void Btnemployee_Click(object sender, EventArgs e)
        {
            AddEmployee addEmp = AddEmployee.getInstance();

            this.Hide();
            addEmp.Show();
        }
        private void btncancel_Click(object sender, EventArgs e)
        {
            AddEmployee addEmployee = AddEmployee.getInstance();

            addEmployee.Show();
            this.Hide();
        }
Ejemplo n.º 4
0
 public static AddEmployee getInstance()
 {
     if (uniqueInstance == null)
     {
         uniqueInstance = new AddEmployee();
     }
     return(uniqueInstance);
 }
Ejemplo n.º 5
0
        private void btnEditempCard_Click(object sender, EventArgs e)
        {
            //getting the card id
            String      cardID = this.cardid;
            AddEmployee emp    = AddEmployee.getInstance();

            emp.editemployee(cardID);
            emp.Show();
            this.Hide();
        }