private void button1_Click(object sender, EventArgs e)
        {
            clsUpdate clsUpdate1;

            clsUpdate1              = new clsUpdate();
            clsUpdate1.Eid          = int.Parse(textBox1.Text);
            clsUpdate1.eName        = textBox2.Text;
            clsUpdate1.ELastName    = textBox3.Text;
            clsUpdate1.EContact     = textBox4.Text;
            clsUpdate1.Edesignation = textBox5.Text;
            clsUpdate1.ESalary      = textBox6.Text;
            clsUpdate1.Update_1();
            Hide();
        }
 public Controller(String formName)
 {
     if (formName == "frmInsert")
     {
         clsInsert1 = new clsInsert();
     }
     else if (formName == "frmDelete")
     {
         clsDelete1 = new clsDelete();
     }
     else if (formName == "frmUpdate")
     {
         clsUpdate1 = new clsUpdate();
     }
 }