예제 #1
0
 private void Load_NhomMenu(int ChTrID)
 {
     glueNhomMenu.Properties.DataSource     = _CLS.Get_NhomMenu(ChTrID);
     glueNhomMenu.Properties.DisplayMember  = "TenNhom";
     glueNhomMenu.Properties.ValueMember    = "ID";
     glueNhomMenu.Properties.BestFitMode    = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup;
     glueNhomMenu.Properties.ImmediatePopup = true;
     glueNhomMenu.Properties.TextEditStyle  = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
 }
 private void Load_NhomMenu()
 {
     gridControl.DataSource = _CLS.Get_NhomMenu();
 }
 private void Load_NhomMenu(int ChTrID)
 {
     gridNhomMenu.DataSource = _clsMenu.Get_NhomMenu(ChTrID);
 }