示例#1
0
 /// <summary>
 /// Xóa hết các User cOntrol mà panel đang chứa
 /// </summary>
 public void RemovePanel()
 {
     pnFr.Controls.Clear();
     status = null;
     pbus   = null;
     tbs    = null;
     rad    = null;
 }
示例#2
0
 /// <summary>
 /// Khởi tạo khen thưởng kỹ luật
 /// </summary>
 private void UserRAD()
 {
     RemovePanel();
     rad = new RAD();
     this.pnFr.Controls.Add(rad);
     pnMove.Top    = btRAD.Top;
     pnMove.Height = btRAD.Height;
 }