Ejemplo n.º 1
0
 public frmTinTucQL()
 {
     InitializeComponent();
     IDField = "ID";
     DisplayField = "TIEU_DE";
     fix = new PhieuQuanLy10Fix(this);
     PMSupport.SetTitle(this, Status);
     PLTinTuc.ChonNhomTin(PLNhomTT, false);
     this.barButtonItemSet.Glyph = FWImageDic.BUSINESS_IMAGE20;
     this.barButtonItemUnSet.Glyph = FWImageDic.BUSINESS_IMAGE20;
     this.barButtonItemSet.Enabled = false;
     this.barButtonItemUnSet.Enabled = false;
     this.barSubItem1.Visibility = DevExpress.XtraBars.BarItemVisibility.Always;
     this.barButtonItemPrint.Visibility = BarItemVisibility.Never;
     this.barButtonItemDuyet.Glyph = FWImageDic.COMMIT_IMAGE16;
     this.barButtonItemK_Duyet.PaintStyle = BarItemPaintStyle.CaptionGlyph;
     this.barButtonItemDuyet.PaintStyle = BarItemPaintStyle.CaptionGlyph;
     this.barButtonItemK_Duyet.Glyph = FWImageDic.UNCOMMIT_IMAGE16;
     this.Load += new EventHandler(frmTinTucQL_Load);
     gridViewMaster.OptionsView.ColumnAutoWidth = true;
     gridViewMaster.OptionsBehavior.AutoExpandAllGroups = true;
     gridViewMaster.OptionsView.ShowGroupedColumns = false;
     gridViewMaster.OptionsView.ShowGroupPanel = false;
     gridViewMaster.OptionsSelection.MultiSelect = true;
 }
 public frmPhieuXacNhanLamViecQL()
 {
     InitializeComponent();
     IDField =  "ID";
     DisplayField = "LY_DO";
     that = new PhieuQuanLy10Fix(this);
 }
        public frmLibXemLichPhatSongQL()
        {
            InitializeComponent();
            IDField =BIEN_MUC.BM_ID;
            DisplayField = BIEN_MUC.MA_BANG;
            fix = new PhieuQuanLy10Fix(this);
            AppCtrl.InitPrintGrid(this,true);
            repositoryItemCheckedCotHienThi = AppCtrl.AddTuyBienCot(barManager1, MainBar, gridViewMaster,
                new string[] {colKenhPhat.Name, colNgay.Name,colGio.Name,colThoiLuong.Name,colTietMuc.Name
                ,colNoiDung.Name,colTapso.Name,colMaBang.Name,colLoaiLuuTru.Name,colThongSo.Name
                ,colTinhTrang.Name,colPopUp.Name,colTTDinhKem.Name,colKe.Name,colNgan.Name
                ,colTang.Name,colSoLanPhat.Name,colPhatLanDau.Name,colDVSH.Name
                ,colDVCC.Name,colNuocSX.Name,colDTKG.Name,colRating.Name,colNamSX.Name,colTenGoc.Name,colThongTinThem.Name});
            //if (repositoryItemCheckedCotHienThi.GetCheckedItems().ToString() != string.Empty)
            //{
            //   // if (colKenhPhat.Visible) colKenhPhat.Group();
            //  //  if (colNgay.Visible) colNgay.Group();
            //    //if (colTietMuc.Visible) colTietMuc.Group();
            //}
            AppCtrl.FormatButtonTimKiem(this);
            AppCtrl.AddXemTatCa(this,repositoryItemCheckedCotHienThi);
            AppCtrl.AddRefresh(this);

            _msgConfirmBeforeDelete = "Bạn có muốn 'Xóa' biên mục đang chọn?";
            _msgNotifyDeleteFail = "Thao tác 'Xóa' biên mục \"{0}\" thực hiện không thành công. Vui lòng kiểm tra lại dữ liệu.";
        }
 public frmTKCapNhatBienMucGroup()
 {
     InitializeComponent();
     IDField = "TODO";
     DisplayField = "TODO";
     Fix = new PhieuQuanLy10Fix(this);
 }
 public frmTKThuocTinhBienMucGroup()
 {
     InitializeComponent();
     IDField = "TLHD_ID";
     DisplayField = "MA_TLHD";
     Fix = new PhieuQuanLy10Fix(this);
 }
Ejemplo n.º 6
0
 public frmTKBectacamBienMuc()
 {
     InitializeComponent();
     IDField = "TLHD_ID";
     DisplayField = "MA_TLHD";
     Fix = new PhieuQuanLy10Fix(this);
 }
Ejemplo n.º 7
0
        public frmKeHoachLPSQL()
        {
            InitializeComponent();
            IDField = KE_HOACH_LPS.KHLPS_ID;
            DisplayField = KE_HOACH_LPS.MA_KHLPS;
            _UseParentDeleteEvent = false;
            this.DESCSortClause = KE_HOACH_LPS.NGAY_LAP;
            this._UseSplitControlEvent = false;
            fix = new PhieuQuanLy10Fix(this);
            fix.splitPanelVisibility = SplitPanelVisibility.Both;
            barButtonPerViewNote = new BarButtonItem();
            barButtonPerViewNote.Visibility = BarItemVisibility.Always;
            barButtonItemPrintNew= AppCtrl.InitPrintGrid(this, true);
            AppCtrl.FormatButtonTimKiem(this);
            AppCtrl.AddXemTatCa(this);

            AppCtrl.AddRefresh(this);
            gridViewMaster._SetPermissionElement(barButtonItemPrintNew, barSubItemExport);
            _msgConfirmBeforeDelete = "Bạn có muốn 'Xóa' kế hoạch phát sóng đang chọn?";
            _msgNotifyDeleteFail = "Thao tác 'Xóa' kế hoạch phát sóng \"{0}\" thực hiện không thành công. Vui lòng kiểm tra lại dữ liệu.";
            gridViewMaster.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(gridViewMaster_FocusedRowChanged);
            gridViewMaster.RowCountChanged += new EventHandler(gridViewMaster_RowCountChanged);

            splitContainerControl1.SplitterPosition = 3 * splitContainerControl1.Width / 5;
            barButtonItemDelete.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(barButtonItemDelete_ItemClick);
        }
Ejemplo n.º 8
0
 public frmSendClientQL()
 {
     InitializeComponent();
     base.IDField = "ID";
     base.DisplayField = "NAME";
     that = new PhieuQuanLy10Fix(this);
     PLGUIUtil.InitBtnNghiepVu(this);
 }
Ejemplo n.º 9
0
 public frmBugProductQL()
 {
     DataSet ds_init = new DataSet();
     InitializeComponent();
     IDField = "ID";
     DisplayField = "NAME";
     Fix = new PhieuQuanLy10Fix(this);
 }
 public frmPhieuRaVaoCtyQL()
 {
     InitializeComponent();
     this.IDField = "ID";
     this.DisplayField = "LY_DO";
     that = new PhieuQuanLy10Fix(this,FrameworkParams.currentUser.username + typeof(frmPhieuRaVaoCtyQL).FullName,this.UpdateRow());
     this.barButtonItemPrint.Visibility = BarItemVisibility.Never;
 }
Ejemplo n.º 11
0
 public frmKhachHangQL1N()
 {
     InitializeComponent();
     IDField = "KH_ID";
     DisplayField = "TEN_KHACH_HANG";
     fix = new PhieuQuanLy10Fix(this);
     PMSupport.SetTitle(this, Status);
 }
Ejemplo n.º 12
0
 public frmForumQL()
 {
     InitializeComponent();
     DienDanPermission.I.Init();
     IDField = "ID";
     DisplayField = "CHU_DE";
     this._UsingExportToFileItem = false;
     fix = new PhieuQuanLy10Fix(this);
 }
 public frmTheoDoi_TT_HL_TVQL()
 {
     InitializeComponent();
     Fix = new PhieuQuanLy10Fix(this);
     this.Text = "Quản lý Huấn luyện-Thử việc-Thực tập";
     this.IDField = "R_ID";
     this.DisplayField = "R_ID";
     this.gridViewMaster.GroupPanelText = "Danh sách ứng viên";
 }
 public frmThangBangLuongQL()
 {
     InitializeComponent();
     IDField = "ID";
     DisplayField = "NAME";
     that = new PhieuQuanLy10Fix(this);//(this,typeof(frmThangBangLuongQL).FullName,this.UpdateRow());
     this.splitContainerControl1.SplitterPosition = 0;
     doLuong = new DODieuChinhLuong();
     this.Text = "Thang bảng lương";
 }
Ejemplo n.º 15
0
 public frmWebsiteQL()
 {
     InitializeComponent();
     WebsitesPermission.I.Init();
     IDField = "ID";
     DisplayField = "DIA_CHI";
     this._UsingExportToFileItem = false;
     fix = new PhieuQuanLy10Fix(this);
     PMSupport.SetTitle(this, Status);
 }
Ejemplo n.º 16
0
 public frmHomThuGopYQL()
 {
     InitializeComponent();
     IDField = "ID";
     DisplayField = "TIEU_DE";
     this._UsingExportToFileItem = false;
     that = new PhieuQuanLy10Fix(this, this.UpdateRow());
     gridViewMaster.OptionsBehavior.AutoExpandAllGroups = true;
     gridViewMaster.OptionsView.ShowGroupPanel = false;
 }
Ejemplo n.º 17
0
 public frmPhieuTamUngQL()
 {
     InitializeComponent();
     IDField = "ID";
     DisplayField = "MA_PHIEU";
     that = new PhieuQuanLy10Fix(this,typeof(frmPhieuTamUngQL).FullName,this.UpdateRow());
     this.barButtonItemPrint.Visibility = BarItemVisibility.Never;
     gridViewMaster.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(gridViewMaster_FocusedRowChanged);
     //Các thiết lập cho nút duyệt và không duyệt
     barButtonItemDuyet.Enabled = false;
     barButtonItemKoDuyet.Enabled = false;
     barButtonItemDuyet.Glyph = FWImageDic.COMMIT_IMAGE16;
     barButtonItemKoDuyet.Glyph = FWImageDic.UNCOMMIT_IMAGE16;
     barButtonItemCommit.Visibility = BarItemVisibility.Never;
     barButtonItemNoCommit.Visibility = BarItemVisibility.Never;
     //------------------------------------------
 }
Ejemplo n.º 18
0
        public frmLichPhatSongQL()
        {
            InitializeComponent();
            IDField = "LPS_ID";
            DisplayField = "LPS_ID";
            fix = new PhieuQuanLy10Fix(this);
            barButtonItemPrintNew = AppCtrl.InitPrintGrid(this, true);
            AppCtrl.FormatButtonTimKiem(this);
            AppCtrl.AddXemTatCa(this);

            repositoryItemCheckedCotHienThi = AppCtrl.AddTuyBienCot(barManager1, this.MainBar, gridViewMaster,
              new string[] {colKenhPhat.Name,colNgayPhatSong.Name,colGioPhatSong.Name,colThoiLuong.Name
                    ,colTietMuc.Name,colNoiDung.Name,colTapSo.Name,colMaBang.Name
                    ,colThongTinThem.Name,colGhiChu.Name});
            AppCtrl.AddRefresh(this);

            _msgConfirmBeforeDelete = "Bạn có muốn 'Xóa' lịch phát sóng đang chọn?";
            _msgNotifyDeleteFail = "Thao tác 'Xóa' lịch phát sóng \"{0}\" thực hiện không thành công. Vui lòng kiểm tra lại dữ liệu.";
        }
Ejemplo n.º 19
0
 public frmNghiPhepQL()
 {
     InitializeComponent();
     IDField = "ID";
     DisplayField = "ID";
     Fix = new PhieuQuanLy10Fix(this);
     gridViewMaster.OptionsBehavior.AutoExpandAllGroups = true;
     gridViewMaster.OptionsView.ShowGroupedColumns = false;
     Cot_Noi_Dung.Visible = true;
     InitState(false);
     this.barButtonItemDuyet.Glyph = FWImageDic.COMMIT_IMAGE16;
     this.barButtonItemK_Duyet.PaintStyle = BarItemPaintStyle.CaptionGlyph;
     this.barButtonItemDuyet.PaintStyle = BarItemPaintStyle.CaptionGlyph;
     this.barButtonItemK_Duyet.Glyph = FWImageDic.UNCOMMIT_IMAGE16;
     this.barButtonItemPrint.Visibility = BarItemVisibility.Never;
     gridViewMaster.CustomDrawCell += new DevExpress.XtraGrid.Views.Base.RowCellCustomDrawEventHandler(gridViewMaster_CustomDrawCell);
     barButtonItemDuyet.ItemClick += new ItemClickEventHandler(barButtonItemDuyet_ItemClick);
     barButtonItemK_Duyet.ItemClick += new ItemClickEventHandler(barButtonItemK_Duyet_ItemClick);
     barSubItem1.Visibility = BarItemVisibility.Always;
 }
        public FrmTNSProgramGridSCRQL()
        {
            InitializeComponent();
            IDField = TNS_PROGRAMS_GRID_SCR.PGS_ID;
            DisplayField = TNS_PROGRAMS_GRID_SCR.NAME;
            _UseParentDeleteEvent = false;
            DESCSortClause = TNS_PROGRAMS_GRID_SCR.NGAY_TAO;
            _UseSplitControlEvent = false;
            fix = new PhieuQuanLy10Fix(this) {splitPanelVisibility = SplitPanelVisibility.Panel1};

            barButtonItemPrintNew = AppCtrl.InitPrintGrid(this, true);
            AppCtrl.FormatButtonTimKiem(this);
            AppCtrl.AddXemTatCa(this);

            AppCtrl.AddRefresh(this);
            gridViewMaster._SetPermissionElement(barButtonItemPrintNew, barSubItemExport);
            _msgConfirmBeforeDelete = "Bạn có muốn 'Xóa' file nguồn TNS đang chọn?";
            _msgNotifyDeleteFail = "Thao tác 'Xóa' file nguồn TNS \"{0}\" thực hiện không thành công. Vui lòng kiểm tra lại dữ liệu.";

               // splitContainerControl1.SplitterPosition = 3 * splitContainerControl1.Width / 5;
            barButtonItemDelete.ItemClick += barButtonItemDelete_ItemClick;
        }
Ejemplo n.º 21
0
 public frmTimeInOutQL()
 {
     InitializeComponent();
     IDField = "ID";
     DisplayField = "NGAY_LAM_VIEC";
     Fix = new PhieuQuanLy10Fix(this);
     gridViewMaster.OptionsBehavior.AutoExpandAllGroups = true;
     gridViewMaster.OptionsView.ShowGroupedColumns = false;
     Cot_Noi_Dung.Visible = true;
     InitState(false);
     this.barButtonItemDuyet.Glyph = FWImageDic.COMMIT_IMAGE16;
     this.barButtonItemK_Duyet.PaintStyle = BarItemPaintStyle.CaptionGlyph;
     this.barButtonItemDuyet.PaintStyle = BarItemPaintStyle.CaptionGlyph;
     this.barButtonItemK_Duyet.Glyph = FWImageDic.UNCOMMIT_IMAGE16;
     this.barButtonItemPrint.Visibility = BarItemVisibility.Never;
     barButtonItemDuyet.ItemClick += new ItemClickEventHandler(barButtonItemDuyet_ItemClick);
     barButtonItemK_Duyet.ItemClick += new ItemClickEventHandler(barButtonItemK_Duyet_ItemClick);
     barSubItem1.Visibility = BarItemVisibility.Always;
     barSubItem1.Enabled = true;
     barButtonItemDuyet.Visibility = BarItemVisibility.Never;
     barButtonItemK_Duyet.Visibility = BarItemVisibility.Never;
     barButtonItemAdd.Visibility = BarItemVisibility.Never;
 }
Ejemplo n.º 22
0
 public frmYeuCauHoTroQL()
 {
     InitializeComponent();
     IDField = "ID";
     DisplayField = "CHU_DE";
     Fix = new PhieuQuanLy10Fix(this);
     PMSupport.SetTitle(this, Status);
     this.barSubItem1.Visibility = DevExpress.XtraBars.BarItemVisibility.Always;
     this.barButtonItemCommit.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     this.barButtonItemNoCommit.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     gridViewMaster.OptionsView.ShowGroupedColumns = false;
     gridViewMaster.OptionsBehavior.AutoExpandAllGroups = true;
     this.barButtonItemPrint.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     gridViewMaster.OptionsView.RowAutoHeight = true;
     //Các thiết lập cho lưới phản hồi
     CotNguoiphanhoi.OptionsColumn.AllowEdit = false;
     CotNguoiphanhoi.OptionsColumn.AllowFocus = false;
     CotTG_PH.OptionsColumn.AllowEdit = false;
     CotTG_PH.OptionsColumn.AllowFocus = false;
     CotNoidung.ColumnEdit.ReadOnly = true;
     /////////////////////////////////////
     popupControlContainerFilter.Visible = true;
     this.splitContainerControl1.PanelVisibility = SplitPanelVisibility.Panel1;
 }
Ejemplo n.º 23
0
 public frmLichPhatSong(PhieuQuanLy10Fix parentFix)
 {
     this.parentFix = parentFix;
     Init(-2, true);
 }