示例#1
0
 private void frmKhenThuong_Load(object sender, EventArgs e)
 {
     LoadTreeLop(uctrlLop);
     uctrlLop.trlLop.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(trlLop_FocusedNodeChanged);
     LoadLoaiKhenThuongReposity();
     dtQuyetDinh = new cBSV_QuyetDinhKhenThuong().GetByHocKyNamHoc(Program.IDNamHoc, Program.HocKy);
     grdDSQuyetDinh.DataSource = dtQuyetDinh;
 }
 public dlgQDKhenThuong(EDIT_MODE _edit)
 {
     InitializeComponent();
     edit = _edit;
     this.DialogResult           = DialogResult.Cancel;
     oBSV_QuyetDinhKhenThuong    = new cBSV_QuyetDinhKhenThuong();
     pSV_QuyetDinhKhenThuongInfo = new SV_QuyetDinhKhenThuongInfo();
 }