예제 #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 Status Admin
 /// </summary>
 private void UserSetting()
 {
     RemovePanel();
     status      = new StatusUS();
     status.Ad   = ad;
     status.Temp = ad.UserName;
     TransNumber();
     status.Pain();
     status.Visible = true;
     this.pnFr.Controls.Add(status);
     pnMove.Top    = btAdmin.Top;
     pnMove.Height = btAdmin.Height;
 }