Beispiel #1
0
 private void button4_Click(object sender, EventArgs e)
 {
     Dt = cobj.Get_All_Emp();
     if (Dt != null)
     {
         this.Hide();
         Showmyemp f = new Showmyemp(null, this, Dt);
         f.Show();
     }
     else
     {
         MsgShow mm = new MsgShow("No Emp For You!");
         mm.ShowDialog();
     }
 }
Beispiel #2
0
 private void button4_Click(object sender, EventArgs e)
 {
     Dt = cobj.Get_Employee_by_Manager(Convert.ToInt32(id));
     if (Dt != null)
     {
         this.Hide();
         Showmyemp f = new Showmyemp(this, null, Dt);
         f.Show();
     }
     else
     {
         MsgShow mm = new MsgShow("No Emp For You!");
         mm.ShowDialog();
     }
 }