Esempio n. 1
0
 private void ChuyenTrangThai(TrangThaiLV tt)
 {
     if (tt == TrangThaiLV.DSDC)
     {
         this.btnLuu.Visible        = false;
         this.btnChuyenDS.Visible   = false;
         this.btnHuy.Visible        = false;
         this.btnPheDuyetUV.Visible = true;
         this.lblDSUV.Text          = "Danh Sách Ứng Viên Đề Cử";
     }
     else
     {
         this.btnLuu.Visible        = true;
         this.btnChuyenDS.Visible   = true;
         this.btnHuy.Visible        = true;
         this.btnPheDuyetUV.Visible = false;
         this.lblDSUV.Text          = "Danh Sách Ứng Viên Phê Duyệt";
     }
 }
Esempio n. 2
0
 public void An_button(TrangThaiLV tt)
 {
     if (tt == TrangThaiLV.DSDC)
     {
         this.btnLuu.Visible        = false;
         this.btnChuyenDS.Visible   = true;
         this.btnHuy.Visible        = false;
         this.btnPheDuyetUV.Visible = true;
         this.lblDSUV.Text          = "Danh Sách Ứng Viên Đề Cử";
         this.btnChuyenDS.Text      = "Chuyển DS Phê Duyệt";
     }
     else
     {
         this.btnLuu.Visible        = true;
         this.btnChuyenDS.Visible   = true;
         this.btnHuy.Visible        = true;
         this.btnPheDuyetUV.Visible = false;
         this.lblDSUV.Text          = "Danh Sách Ứng Viên Phê Duyệt";
         this.btnChuyenDS.Text      = "Chuyển DS Đề Cử";
     }
 }
Esempio n. 3
0
 private void btnChuyenDS_Click(object sender, EventArgs e)
 {
     if (btnChuyenDS.Text == "Chuyển DS Đề Cử")
     {
         tt = TrangThaiLV.DSDC;
     }
     else
     {
         tt = TrangThaiLV.DSPD;
     }
     //chuyen trang thai danh sach
     if (tt == TrangThaiLV.DSDC)
     {
         An_button(tt);
         LoadToListView(dsDeCu);
         tt = TrangThaiLV.DSPD;
     }
     else
     {
         An_button(tt);
         LoadToListView(dsPD);
         tt = TrangThaiLV.DSDC;
     }
 }