public frmPhongVanQL()
 {
     InitializeComponent();
     IDField = "ID";
     DisplayField = "HO_TEN";
     that = new PhieuQuanLyFix(this);
     Uncategory.setEnterAsTab(this);
 }
 public frmPhongVanQL()
 {
     InitializeComponent();
     IDField = "ID";
     DisplayField = "HO_TEN";
     that = new PhieuQuanLyFix(this);
     Web_HienThiThongTin.IsWebBrowserContextMenuEnabled = false;
 }
示例#3
0
        public frmHoSoQL()
        {
            InitializeComponent();
            HelpDebug.SetTitle(this, Status);

            this.IDField = "ID";
            DisplayField = "HO_TEN";
            that = new PhieuQuanLyFix(this, typeof(frmHoSoQL).FullName,UpdateRow());
            this.gridViewMaster.RowCountChanged += new EventHandler(gridViewMaster_RowCountChanged);
        }
        public frmHoSoUngVienQL()
        {
            InitializeComponent();
            PMSupport.SetTitle(this, Status);

            this.IDField = "ID";
            DisplayField = "O_HO_TEN";
            that = new PhieuQuanLyFix(this);
            this.gridViewMaster.RowCountChanged += new EventHandler(gridViewMaster_RowCountChanged);
            Uncategory.setEnterAsTab(this);
        }
示例#5
0
 public frmThuChiQL()
 {
     InitializeComponent();
     IDField = "ID";
     DisplayField = "O_MA_PHIEU";
     that = new PhieuQuanLyFix(this);
     this.barSubItem2.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.barSubItem2.Glyph = FWImageDic.BUSINESS_IMAGE20;
     this.barSubItem1.Glyph = FWImageDic.BUSINESS_IMAGE20;
     this.barButtonItem_Chot.Glyph = FWImageDic.CHOICE_IMAGE20;
     this.barButtonItem_NoChot.Glyph = FWImageDic.ADD_IMAGE20;
     this.barSubItem2.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     this.barSubItem1.Visibility = DevExpress.XtraBars.BarItemVisibility.Always;
     this.barSubItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
 }
        public frmBangGiaBudgetQL()
        {
            InitializeComponent();
            IDField = BANG_GIA_BUDGET.BGBG_ID;
            this.DESCSortClause = BANG_GIA_BUDGET.NGAY_LAP;

            _UseParentDeleteEvent = false;
            _UseSplitControlEvent = false;
            fix = new PhieuQuanLyFix(this);
            barButtonItemPrintNew = AppCtrl.InitPrintGrid(this, true);
            AppCtrl.FormatButtonTimKiem(this);
            AppCtrl.AddXemTatCa(this);
            AppCtrl.AddRefresh(this);
            gridViewMaster._SetPermissionElement(barButtonItemPrintNew, barSubItemExport);
            gridViewDetail._SetPermissionElement(barButtonItemPrintNew, barSubItemExport);
            barButtonItemDelete.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(barButtonItemDelete_ItemClick);
            this.Load += new System.EventHandler(frmBangGiaBudgetQL_Load);
            gridViewMaster.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(gridViewMaster_FocusedRowChanged);
            gridViewMaster.RowCountChanged += new EventHandler(gridViewMaster_RowCountChanged);
        }