Ejemplo n.º 1
0
 private void btnQuanTri_Click(object sender, EventArgs e)
 {
     t3 = new Thread(Hien);
     t4 = new Thread(An);
     if (plQT.Visible)
     {
         Hide.HideSync(plQT);
     }
     else
     {
         plQT.BringToFront();
         t3.Start(plQT);
         t4.Start(plKho);
     }
 }
Ejemplo n.º 2
0
 private void btnKho_Click(object sender, EventArgs e)
 {
     t1 = new Thread(Hien);
     t2 = new Thread(An);
     if (plKho.Visible)
     {
         Hide.HideSync(plKho);
     }
     else
     {
         plKho.BringToFront();
         t1.Start(plKho);
         t2.Start(plQT);
     }
 }
Ejemplo n.º 3
0
        private void An(Object a)
        {
            Panel b = (Panel)a;

            Hide.HideSync(b);
        }