コード例 #1
0
ファイル: AppCtrl.cs プロジェクト: khanhdtn/my-office-manager
 public static PLDataTree GetTreeList(PLDMTreeGroup tree)
 {
     PopupContainerControl popup = tree.Controls["popupContainerControl1"] as PopupContainerControl;
     if (popup == null) return null;
     DMTreeGroup tr = popup.Controls["plGroupCatNew1"] as DMTreeGroup;
     if (tr == null) return null;
     return tr.TreeList_1;
 }
コード例 #2
0
ファイル: AppCtrl.cs プロジェクト: khanhdtn/my-office-manager
        public static DMTreeGroup InitTreeChonDienDan(PLDMTreeGroup tree, bool? IsAdd)
        {
            if (IsAdd == true)
            {
                tree.InitReadOnly("NAME", "V_DIEN_DAN_CHUYEN_MUC", null, "ID", "PARENT_ID",
               new string[] { "NAME" },
               new string[] { "Diễn đàn" });
            }
            else
            {

                tree.InitReadOnly("NAME", "V_DIEN_DAN_CHUYEN_MUC", null, "ID", "PARENT_ID",
                    new string[] { "NAME" },
                    new string[] { "Diễn đàn" });
            }
              string sql="";
            if (DienDanPermission.I.IsPermission==false)
            {
               sql= @"SELECT DD.ID,DD.NAME,DD.ID_CHA PARENT_ID,DD.ID_ROOT,DD.VISIBLE_BIT,'Y' IS_GROUP
                    FROM NHOM_DIEN_DAN DD WHERE DD.VISIBLE_BIT = 'Y'
                    UNION SELECT CM.ID,CM.NAME,CM.ID_NHOM_DIEN_DAN PARENT_ID,
                        (SELECT N.ID_ROOT FROM NHOM_DIEN_DAN N WHERE N.ID = CM.ID_NHOM_DIEN_DAN),
                        CM.VISIBLE_BIT,'N' IS_GROUP
                    FROM CHUYEN_MUC CM WHERE CM.VISIBLE_BIT = 'Y'";
            }
            else
            {
                string nddids = DienDanPermission.I._getPermissionResGroupStrIDs(PermissionOfResource.RES_PERMISSION_TYPE.READ);
                string cmids = DienDanPermission.I._getPermissionResStrIDs(PermissionOfResource.RES_PERMISSION_TYPE.READ);
                if (nddids == "") nddids = "-1";
                if (cmids == "") cmids = "-1";
                sql = @"SELECT DD.ID,DD.NAME,DD.ID_CHA PARENT_ID,DD.ID_ROOT,DD.VISIBLE_BIT,'Y' IS_GROUP
                    FROM NHOM_DIEN_DAN DD WHERE DD.VISIBLE_BIT = 'Y' and (dd.id=dd.ID_ROOT or dd.id in (" + nddids+ @")
                    or dd.id in (select cmuc.ID_NHOM_DIEN_DAN from CHUYEN_MUC cmuc where cmuc.id in (" + cmids + @")))
                    UNION SELECT CM.ID,CM.NAME,CM.ID_NHOM_DIEN_DAN PARENT_ID,
                        (SELECT N.ID_ROOT FROM NHOM_DIEN_DAN N WHERE N.ID = CM.ID_NHOM_DIEN_DAN),
                        CM.VISIBLE_BIT,'N' IS_GROUP
                    FROM CHUYEN_MUC CM WHERE CM.VISIBLE_BIT = 'Y' and cm.id in (" + cmids +")";
            }

            PopupContainerControl popup = tree.Controls["popupContainerControl1"] as PopupContainerControl;
            if (popup == null) return null;
            DMTreeGroup tr = popup.Controls["plGroupCatNew1"] as DMTreeGroup;
            if (tr == null) return null;
            foreach (TreeListColumn col in tr.TreeList_1.Columns)
            {
                col.OptionsColumn.AllowFocus = false;
            }
            tr.TreeList_1.DataSource= HelpDB.getDatabase().LoadDataSet(sql,"DIEN_DAN").Tables[0];

            DataTable dt = tr.TreeList_1.DataSource as DataTable;
            dt.DefaultView.Sort = "IS_GROUP DESC ,NAME ASC";

            return tr;
        }
コード例 #3
0
 /// <summary>
 ///CHAUTV : Phân quyền xem dữ liệu
 /// </summary>
 /// <param name="Input"></param>
 /// <param name="featureName"></param>
 public static void ApplyPermissionData(PLDMTreeGroup Input, string featureName)
 {
     List<Feature> features = Permission.loadAllFeatureByUser(FrameworkParams.currentUser.username);
     bool IsFull = false;
     if (features.Exists(delegate(Feature e)
     {
         return e.featureName.Equals(featureName) && e.isRead.Equals(true);
     }) || FrameworkParams.currentUser.username.Equals("admin"))
         IsFull = true;
     //foreach (Feature f in features)
     //{
     //    if ((f.featureName == featureName && f.isRead == true) || FrameworkParams.currentUser.username.Equals("admin"))
     //    {
     //        IsFull = true;
     //        return;
     //    }
     //}
     if (FrameworkParams.isPermision.getPublicForm().Contains(typeof(frmTimeInOutQL).FullName) == false && !IsFull)
         Input.Enabled = false;
     Input._setSelectedID(FrameworkParams.currentUser.employee_id);
 }
コード例 #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 protected void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmNghiPhepQL));
     this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
     this.MainBar = new DevExpress.XtraBars.Bar();
     this.barButtonItemAdd = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemXem = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemDelete = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemUpdate = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemPrint = new DevExpress.XtraBars.BarButtonItem();
     this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components);
     this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemDuyet = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemK_Duyet = new DevExpress.XtraBars.BarButtonItem();
     this.barSubItem1 = new DevExpress.XtraBars.BarSubItem();
     this.barButtonItemSearch = new DevExpress.XtraBars.BarButtonItem();
     this.popupMenuFilter = new DevExpress.XtraBars.PopupMenu(this.components);
     this.barCheckItemFilter = new DevExpress.XtraBars.BarCheckItem();
     this.barButtonItemClose = new DevExpress.XtraBars.BarButtonItem();
     this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
     this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem();
     this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemCommit = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemNoCommit = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
     this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
     this.gridControlMaster = new DevExpress.XtraGrid.GridControl();
     this.gridViewMaster = new DevExpress.XtraGrid.Views.Grid.PLGridView();
     this.ID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_NVID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_TenNV = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_NgayLamViec = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_GioBatDau = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_GioKetThuc = new DevExpress.XtraGrid.Columns.GridColumn();
     this.CotTG_LV = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_Cham_Cong = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_N_Bs = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_N_BC = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Loai_NP = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_Ly_Do = new DevExpress.XtraGrid.Columns.GridColumn();
     this.cotThoiGianCN = new DevExpress.XtraGrid.Columns.GridColumn();
     this.xtraTabControlDetail = new DevExpress.XtraTab.XtraTabControl();
     this.xtraTabPageDetail = new DevExpress.XtraTab.XtraTabPage();
     this.gridControlDetail = new DevExpress.XtraGrid.GridControl();
     this.gridViewDetail = new DevExpress.XtraGrid.Views.Grid.PLGridView();
     this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
     this.repositoryItemImageComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox();
     this.popupControlContainerFilter = new DevExpress.XtraBars.PopupControlContainer(this.components);
     this.NhanVien = new ProtocolVN.Framework.Win.PLDMTreeGroup();
     this.ngayLamViec = new ProtocolVN.Framework.Win.Office.PLDateSelection();
     this.checkNghi_Nam = new DevExpress.XtraEditors.CheckEdit();
     this.chkNghi_KLuong = new DevExpress.XtraEditors.CheckEdit();
     this.DuyetSelect = new ProtocolVN.Framework.Win.PLDuyetCheckbox();
     this.label4 = new System.Windows.Forms.PLLabel();
     this.label1 = new System.Windows.Forms.PLLabel();
     this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).BeginInit();
     this.xtraTabControlDetail.SuspendLayout();
     this.xtraTabPageDetail.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).BeginInit();
     this.popupControlContainerFilter.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkNghi_Nam.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkNghi_KLuong.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // barManager1
     //
     this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
     this.MainBar});
     this.barManager1.DockControls.Add(this.barDockControlTop);
     this.barManager1.DockControls.Add(this.barDockControlBottom);
     this.barManager1.DockControls.Add(this.barDockControlLeft);
     this.barManager1.DockControls.Add(this.barDockControlRight);
     this.barManager1.Form = this;
     this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.barButtonItemAdd,
     this.barButtonItemDelete,
     this.barButtonItemUpdate,
     this.barButtonItemPrint,
     this.barStaticItem1,
     this.barButtonItem1,
     this.barButtonItem2,
     this.barButtonItemCommit,
     this.barButtonItemNoCommit,
     this.barSubItem1,
     this.barButtonItemXem,
     this.barButtonItemSearch,
     this.barButtonItemClose,
     this.barCheckItemFilter,
     this.barButtonItem3,
     this.barButtonItem4,
     this.barButtonItemDuyet,
     this.barButtonItemK_Duyet});
     this.barManager1.MaxItemId = 37;
     //
     // MainBar
     //
     this.MainBar.BarName = "MainBar";
     this.MainBar.DockCol = 0;
     this.MainBar.DockRow = 0;
     this.MainBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.MainBar.FloatLocation = new System.Drawing.Point(39, 133);
     this.MainBar.FloatSize = new System.Drawing.Size(72, 73);
     this.MainBar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Caption, this.barButtonItemAdd, "&Thêm"),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemXem),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDelete),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemUpdate),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemPrint, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDuyet, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemK_Duyet),
     new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem1, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemSearch),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemClose, true)});
     this.MainBar.OptionsBar.AllowQuickCustomization = false;
     this.MainBar.OptionsBar.DrawDragBorder = false;
     this.MainBar.OptionsBar.RotateWhenVertical = false;
     this.MainBar.OptionsBar.UseWholeRow = true;
     this.MainBar.Text = "Custom 1";
     //
     // barButtonItemAdd
     //
     this.barButtonItemAdd.Caption = "Thêm";
     this.barButtonItemAdd.Id = 0;
     this.barButtonItemAdd.Name = "barButtonItemAdd";
     this.barButtonItemAdd.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemXem
     //
     this.barButtonItemXem.Caption = "X&em";
     this.barButtonItemXem.Id = 24;
     this.barButtonItemXem.Name = "barButtonItemXem";
     this.barButtonItemXem.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemDelete
     //
     this.barButtonItemDelete.Caption = "&Xóa";
     this.barButtonItemDelete.Id = 1;
     this.barButtonItemDelete.Name = "barButtonItemDelete";
     this.barButtonItemDelete.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemUpdate
     //
     this.barButtonItemUpdate.Caption = "&Sửa";
     this.barButtonItemUpdate.Id = 2;
     this.barButtonItemUpdate.Name = "barButtonItemUpdate";
     this.barButtonItemUpdate.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemPrint
     //
     this.barButtonItemPrint.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.barButtonItemPrint.Caption = "&In";
     this.barButtonItemPrint.DropDownControl = this.popupMenu1;
     this.barButtonItemPrint.Id = 3;
     this.barButtonItemPrint.Name = "barButtonItemPrint";
     this.barButtonItemPrint.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // popupMenu1
     //
     this.popupMenu1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4)});
     this.popupMenu1.Manager = this.barManager1;
     this.popupMenu1.Name = "popupMenu1";
     //
     // barButtonItem4
     //
     this.barButtonItem4.Caption = "Xem t&rước";
     this.barButtonItem4.Id = 33;
     this.barButtonItem4.Name = "barButtonItem4";
     //
     // barButtonItemDuyet
     //
     this.barButtonItemDuyet.Caption = "&Duyệt";
     this.barButtonItemDuyet.Id = 35;
     this.barButtonItemDuyet.Name = "barButtonItemDuyet";
     //
     // barButtonItemK_Duyet
     //
     this.barButtonItemK_Duyet.Caption = "&Không duyệt";
     this.barButtonItemK_Duyet.Id = 36;
     this.barButtonItemK_Duyet.Name = "barButtonItemK_Duyet";
     //
     // barSubItem1
     //
     this.barSubItem1.Caption = "&Nghiệp vụ";
     this.barSubItem1.Id = 20;
     this.barSubItem1.Name = "barSubItem1";
     this.barSubItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemSearch
     //
     this.barButtonItemSearch.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.barButtonItemSearch.Caption = "Tì&m kiếm";
     this.barButtonItemSearch.DropDownControl = this.popupMenuFilter;
     this.barButtonItemSearch.Id = 27;
     this.barButtonItemSearch.Name = "barButtonItemSearch";
     this.barButtonItemSearch.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // popupMenuFilter
     //
     this.popupMenuFilter.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.barCheckItemFilter)});
     this.popupMenuFilter.Manager = this.barManager1;
     this.popupMenuFilter.Name = "popupMenuFilter";
     //
     // barCheckItemFilter
     //
     this.barCheckItemFilter.Caption = "Điề&u kiện tìm kiếm";
     this.barCheckItemFilter.Checked = true;
     this.barCheckItemFilter.Id = 29;
     this.barCheckItemFilter.Name = "barCheckItemFilter";
     this.barCheckItemFilter.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemClose
     //
     this.barButtonItemClose.Caption = "Đón&g";
     this.barButtonItemClose.Id = 28;
     this.barButtonItemClose.Name = "barButtonItemClose";
     this.barButtonItemClose.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barDockControlTop
     //
     this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Size = new System.Drawing.Size(804, 24);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location = new System.Drawing.Point(0, 497);
     this.barDockControlBottom.Size = new System.Drawing.Size(804, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location = new System.Drawing.Point(0, 24);
     this.barDockControlLeft.Size = new System.Drawing.Size(0, 473);
     //
     // barDockControlRight
     //
     this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location = new System.Drawing.Point(804, 24);
     this.barDockControlRight.Size = new System.Drawing.Size(0, 473);
     //
     // barStaticItem1
     //
     this.barStaticItem1.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None;
     this.barStaticItem1.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.barStaticItem1.Id = 13;
     this.barStaticItem1.Name = "barStaticItem1";
     this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near;
     this.barStaticItem1.Width = 100;
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption = "barButtonItem1";
     this.barButtonItem1.Id = 14;
     this.barButtonItem1.Name = "barButtonItem1";
     //
     // barButtonItem2
     //
     this.barButtonItem2.Caption = "barButtonItem2";
     this.barButtonItem2.Id = 15;
     this.barButtonItem2.Name = "barButtonItem2";
     //
     // barButtonItemCommit
     //
     this.barButtonItemCommit.Caption = "&Duyệt";
     this.barButtonItemCommit.Id = 17;
     this.barButtonItemCommit.Name = "barButtonItemCommit";
     this.barButtonItemCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemNoCommit
     //
     this.barButtonItemNoCommit.Caption = "&Không duyệt";
     this.barButtonItemNoCommit.Id = 18;
     this.barButtonItemNoCommit.Name = "barButtonItemNoCommit";
     this.barButtonItemNoCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItem3
     //
     this.barButtonItem3.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.barButtonItem3.Caption = "In";
     this.barButtonItem3.Id = 30;
     this.barButtonItem3.Name = "barButtonItem3";
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl1.Horizontal = false;
     this.splitContainerControl1.Location = new System.Drawing.Point(0, 90);
     this.splitContainerControl1.Name = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Controls.Add(this.gridControlMaster);
     this.splitContainerControl1.Panel1.Text = "splitContainerControl1_Panel1";
     this.splitContainerControl1.Panel2.CaptionLocation = DevExpress.Utils.Locations.Left;
     this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControlDetail);
     this.splitContainerControl1.Panel2.ShowCaption = true;
     this.splitContainerControl1.Panel2.Text = "splitContainerControl1_Panel2";
     this.splitContainerControl1.Size = new System.Drawing.Size(804, 407);
     this.splitContainerControl1.SplitterPosition = 196;
     this.splitContainerControl1.TabIndex = 4;
     this.splitContainerControl1.Text = "splitContainerControl1";
     //
     // gridControlMaster
     //
     this.gridControlMaster.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlMaster.BackgroundImage")));
     this.gridControlMaster.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.gridControlMaster.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMaster.Location = new System.Drawing.Point(0, 0);
     this.gridControlMaster.MainView = this.gridViewMaster;
     this.gridControlMaster.Name = "gridControlMaster";
     this.gridControlMaster.Size = new System.Drawing.Size(804, 196);
     this.gridControlMaster.TabIndex = 0;
     this.gridControlMaster.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMaster});
     //
     // gridViewMaster
     //
     this.gridViewMaster.Appearance.GroupPanel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Inch);
     this.gridViewMaster.Appearance.GroupPanel.Options.UseFont = true;
     this.gridViewMaster.Appearance.HeaderPanel.Options.UseTextOptions = true;
     this.gridViewMaster.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridViewMaster.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.ID,
     this.Cot_NVID,
     this.Cot_TenNV,
     this.Cot_NgayLamViec,
     this.Cot_GioBatDau,
     this.Cot_GioKetThuc,
     this.CotTG_LV,
     this.Cot_Cham_Cong,
     this.Cot_N_Bs,
     this.Cot_N_BC,
     this.Loai_NP,
     this.Cot_Ly_Do,
     this.cotThoiGianCN});
     this.gridViewMaster.GridControl = this.gridControlMaster;
     this.gridViewMaster.GroupCount = 1;
     this.gridViewMaster.GroupPanelText = "DANH SÁCH NGHỈ PHÉP";
     this.gridViewMaster.IndicatorWidth = 40;
     this.gridViewMaster.Name = "gridViewMaster";
     this.gridViewMaster.NewItemRowText = "Nhập dữ liệu mới tại đây";
     this.gridViewMaster.OptionsFilter.UseNewCustomFilterDialog = true;
     this.gridViewMaster.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewMaster.OptionsNavigation.AutoFocusNewRow = true;
     this.gridViewMaster.OptionsNavigation.EnterMoveNextColumn = true;
     this.gridViewMaster.OptionsPrint.UsePrintStyles = true;
     this.gridViewMaster.OptionsSelection.MultiSelect = true;
     this.gridViewMaster.OptionsView.EnableAppearanceEvenRow = true;
     this.gridViewMaster.OptionsView.EnableAppearanceOddRow = true;
     this.gridViewMaster.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
     this.gridViewMaster.OptionsView.ShowFooter = true;
     this.gridViewMaster.OptionsView.ShowGroupedColumns = true;
     this.gridViewMaster.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.Cot_NgayLamViec, DevExpress.Data.ColumnSortOrder.Descending)});
     //
     // ID
     //
     this.ID.Caption = "ID";
     this.ID.Name = "ID";
     this.ID.Width = 23;
     //
     // Cot_NVID
     //
     this.Cot_NVID.Caption = "NV_ID";
     this.Cot_NVID.Name = "Cot_NVID";
     this.Cot_NVID.Width = 42;
     //
     // Cot_TenNV
     //
     this.Cot_TenNV.Caption = "Nhân viên";
     this.Cot_TenNV.Name = "Cot_TenNV";
     this.Cot_TenNV.Visible = true;
     this.Cot_TenNV.VisibleIndex = 0;
     this.Cot_TenNV.Width = 60;
     //
     // Cot_NgayLamViec
     //
     this.Cot_NgayLamViec.Caption = "Ngày nghỉ phép";
     this.Cot_NgayLamViec.Name = "Cot_NgayLamViec";
     this.Cot_NgayLamViec.Visible = true;
     this.Cot_NgayLamViec.VisibleIndex = 2;
     this.Cot_NgayLamViec.Width = 100;
     //
     // Cot_GioBatDau
     //
     this.Cot_GioBatDau.Caption = "Giờ bắt đầu";
     this.Cot_GioBatDau.Name = "Cot_GioBatDau";
     this.Cot_GioBatDau.Width = 67;
     //
     // Cot_GioKetThuc
     //
     this.Cot_GioKetThuc.Caption = "Giờ kết thúc";
     this.Cot_GioKetThuc.Name = "Cot_GioKetThuc";
     this.Cot_GioKetThuc.Width = 69;
     //
     // CotTG_LV
     //
     this.CotTG_LV.Caption = "Thời gian làm việc (giờ : phút)";
     this.CotTG_LV.Name = "CotTG_LV";
     this.CotTG_LV.SummaryItem.DisplayFormat = "Thời gian: {0:#.##0}";
     this.CotTG_LV.SummaryItem.FieldName = "TG";
     this.CotTG_LV.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.CotTG_LV.Width = 153;
     //
     // Cot_Cham_Cong
     //
     this.Cot_Cham_Cong.Caption = "Đã chấm công";
     this.Cot_Cham_Cong.Name = "Cot_Cham_Cong";
     this.Cot_Cham_Cong.Width = 80;
     //
     // Cot_N_Bs
     //
     this.Cot_N_Bs.Caption = "Nghỉ buổi sáng";
     this.Cot_N_Bs.Name = "Cot_N_Bs";
     this.Cot_N_Bs.SummaryItem.DisplayFormat = "{0:#.###} (buổi)";
     this.Cot_N_Bs.SummaryItem.FieldName = "IS_NGHI_BUOI_SANG";
     this.Cot_N_Bs.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.Cot_N_Bs.Visible = true;
     this.Cot_N_Bs.VisibleIndex = 1;
     this.Cot_N_Bs.Width = 82;
     //
     // Cot_N_BC
     //
     this.Cot_N_BC.Caption = "Nghỉ buổi chiều";
     this.Cot_N_BC.Name = "Cot_N_BC";
     this.Cot_N_BC.SummaryItem.DisplayFormat = "{0:#.###} (buổi)";
     this.Cot_N_BC.SummaryItem.FieldName = "IS_NGHI_BUOI_CHIEU";
     this.Cot_N_BC.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.Cot_N_BC.Visible = true;
     this.Cot_N_BC.VisibleIndex = 3;
     this.Cot_N_BC.Width = 84;
     //
     // Loai_NP
     //
     this.Loai_NP.Caption = "Loại nghỉ phép";
     this.Loai_NP.Name = "Loai_NP";
     this.Loai_NP.Visible = true;
     this.Loai_NP.VisibleIndex = 4;
     this.Loai_NP.Width = 81;
     //
     // Cot_Ly_Do
     //
     this.Cot_Ly_Do.Caption = "Lý do";
     this.Cot_Ly_Do.Name = "Cot_Ly_Do";
     this.Cot_Ly_Do.Visible = true;
     this.Cot_Ly_Do.VisibleIndex = 5;
     this.Cot_Ly_Do.Width = 38;
     //
     // cotThoiGianCN
     //
     this.cotThoiGianCN.Caption = "Thời gian cập nhật";
     this.cotThoiGianCN.Name = "cotThoiGianCN";
     this.cotThoiGianCN.Visible = true;
     this.cotThoiGianCN.VisibleIndex = 6;
     this.cotThoiGianCN.Width = 100;
     //
     // xtraTabControlDetail
     //
     this.xtraTabControlDetail.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraTabControlDetail.Location = new System.Drawing.Point(0, 0);
     this.xtraTabControlDetail.Name = "xtraTabControlDetail";
     this.xtraTabControlDetail.SelectedTabPage = this.xtraTabPageDetail;
     this.xtraTabControlDetail.Size = new System.Drawing.Size(804, 205);
     this.xtraTabControlDetail.TabIndex = 0;
     this.xtraTabControlDetail.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.xtraTabPageDetail});
     //
     // xtraTabPageDetail
     //
     this.xtraTabPageDetail.Controls.Add(this.gridControlDetail);
     this.xtraTabPageDetail.Name = "xtraTabPageDetail";
     this.xtraTabPageDetail.Size = new System.Drawing.Size(797, 176);
     this.xtraTabPageDetail.Text = "Chi tiết";
     //
     // gridControlDetail
     //
     this.gridControlDetail.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlDetail.BackgroundImage")));
     this.gridControlDetail.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.gridControlDetail.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlDetail.Location = new System.Drawing.Point(0, 0);
     this.gridControlDetail.MainView = this.gridViewDetail;
     this.gridControlDetail.Name = "gridControlDetail";
     this.gridControlDetail.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemButtonEdit1,
     this.repositoryItemImageComboBox1});
     this.gridControlDetail.Size = new System.Drawing.Size(797, 176);
     this.gridControlDetail.TabIndex = 0;
     this.gridControlDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewDetail});
     //
     // gridViewDetail
     //
     this.gridViewDetail.Appearance.HeaderPanel.Options.UseTextOptions = true;
     this.gridViewDetail.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridViewDetail.GridControl = this.gridControlDetail;
     this.gridViewDetail.IndicatorWidth = 40;
     this.gridViewDetail.Name = "gridViewDetail";
     this.gridViewDetail.NewItemRowText = "Nhập dữ liệu mới tại đây";
     this.gridViewDetail.OptionsFilter.UseNewCustomFilterDialog = true;
     this.gridViewDetail.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewDetail.OptionsNavigation.AutoFocusNewRow = true;
     this.gridViewDetail.OptionsNavigation.EnterMoveNextColumn = true;
     this.gridViewDetail.OptionsPrint.UsePrintStyles = true;
     this.gridViewDetail.OptionsView.EnableAppearanceEvenRow = true;
     this.gridViewDetail.OptionsView.EnableAppearanceOddRow = true;
     this.gridViewDetail.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
     this.gridViewDetail.OptionsView.ShowGroupedColumns = true;
     this.gridViewDetail.OptionsView.ShowGroupPanel = false;
     //
     // repositoryItemButtonEdit1
     //
     this.repositoryItemButtonEdit1.AutoHeight = false;
     this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
     //
     // repositoryItemImageComboBox1
     //
     this.repositoryItemImageComboBox1.AutoHeight = false;
     this.repositoryItemImageComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemImageComboBox1.Name = "repositoryItemImageComboBox1";
     //
     // popupControlContainerFilter
     //
     this.popupControlContainerFilter.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.popupControlContainerFilter.Controls.Add(this.NhanVien);
     this.popupControlContainerFilter.Controls.Add(this.ngayLamViec);
     this.popupControlContainerFilter.Controls.Add(this.checkNghi_Nam);
     this.popupControlContainerFilter.Controls.Add(this.chkNghi_KLuong);
     this.popupControlContainerFilter.Controls.Add(this.DuyetSelect);
     this.popupControlContainerFilter.Controls.Add(this.label4);
     this.popupControlContainerFilter.Controls.Add(this.label1);
     this.popupControlContainerFilter.Dock = System.Windows.Forms.DockStyle.Top;
     this.popupControlContainerFilter.Location = new System.Drawing.Point(0, 24);
     this.popupControlContainerFilter.Manager = this.barManager1;
     this.popupControlContainerFilter.Name = "popupControlContainerFilter";
     this.popupControlContainerFilter.Size = new System.Drawing.Size(804, 66);
     this.popupControlContainerFilter.TabIndex = 0;
     this.popupControlContainerFilter.Visible = false;
     //
     // NhanVien
     //
     this.NhanVien.Location = new System.Drawing.Point(66, 9);
     this.NhanVien.Name = "NhanVien";
     this.NhanVien.Size = new System.Drawing.Size(212, 20);
     this.NhanVien.TabIndex = 0;
     //
     // ngayLamViec
     //
     this.ngayLamViec.Caption = "Năm 2010 và 2011";
     this.ngayLamViec.Default = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear;
     this.ngayLamViec.FirstFrom = new System.DateTime(2010, 1, 1, 0, 0, 0, 0);
     this.ngayLamViec.FirstTo = new System.DateTime(2011, 12, 31, 0, 0, 0, 0);
     this.ngayLamViec.FromDate = new System.DateTime(2010, 1, 1, 0, 0, 0, 0);
     this.ngayLamViec.Location = new System.Drawing.Point(365, 9);
     this.ngayLamViec.Name = "ngayLamViec";
     this.ngayLamViec.ReturnType = ProtocolVN.Framework.Win.Trial.TimeType.Date;
     this.ngayLamViec.SecondFrom = new System.DateTime(2010, 1, 1, 0, 0, 0, 0);
     this.ngayLamViec.SecondTo = new System.DateTime(2011, 12, 31, 0, 0, 0, 0);
     this.ngayLamViec.SelectedType = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear;
     this.ngayLamViec.Size = new System.Drawing.Size(225, 21);
     this.ngayLamViec.TabIndex = 1;
     this.ngayLamViec.ToDate = new System.DateTime(2011, 12, 31, 0, 0, 0, 0);
     this.ngayLamViec.Types = ((ProtocolVN.Framework.Win.Trial.SelectionTypes)(((((((((ProtocolVN.Framework.Win.Trial.SelectionTypes.OneDate | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneMonth)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneQuarter)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneYear)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.SixMonths)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromDateToDate)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromMonthToMonth)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromQuarterToQuarter)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear)));
     //
     // checkNghi_Nam
     //
     this.checkNghi_Nam.Location = new System.Drawing.Point(159, 36);
     this.checkNghi_Nam.MenuManager = this.barManager1;
     this.checkNghi_Nam.Name = "checkNghi_Nam";
     this.checkNghi_Nam.Properties.Caption = "Phép năm";
     this.checkNghi_Nam.Size = new System.Drawing.Size(87, 19);
     this.checkNghi_Nam.TabIndex = 3;
     //
     // chkNghi_KLuong
     //
     this.chkNghi_KLuong.Location = new System.Drawing.Point(64, 36);
     this.chkNghi_KLuong.MenuManager = this.barManager1;
     this.chkNghi_KLuong.Name = "chkNghi_KLuong";
     this.chkNghi_KLuong.Properties.Caption = "Không lương";
     this.chkNghi_KLuong.Size = new System.Drawing.Size(89, 19);
     this.chkNghi_KLuong.TabIndex = 2;
     //
     // DuyetSelect
     //
     this.DuyetSelect.Location = new System.Drawing.Point(356, 36);
     this.DuyetSelect.Name = "DuyetSelect";
     this.DuyetSelect.Size = new System.Drawing.Size(216, 24);
     this.DuyetSelect.TabIndex = 5;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(284, 14);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(75, 13);
     this.label4.TabIndex = 2;
     this.label4.Text = "Ngày nghỉ phép";
     this.label4.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(12, 14);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(48, 13);
     this.label1.TabIndex = 5;
     this.label1.Text = "Nhân viên";
     this.label1.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL;
     //
     // gridColumn8
     //
     this.gridColumn8.Caption = "VAT";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.Visible = true;
     this.gridColumn8.VisibleIndex = 5;
     //
     // gridColumn6
     //
     this.gridColumn6.Caption = "VAT";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 5;
     this.gridColumn6.Width = 96;
     //
     // frmNghiPhepQL
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(804, 497);
     this.Controls.Add(this.splitContainerControl1);
     this.Controls.Add(this.popupControlContainerFilter);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Name = "frmNghiPhepQL";
     this.Text = "Theo dõi nghỉ phép";
     this.Load += new System.EventHandler(this.frmTimeInOutQL_Load);
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).EndInit();
     this.xtraTabControlDetail.ResumeLayout(false);
     this.xtraTabPageDetail.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).EndInit();
     this.popupControlContainerFilter.ResumeLayout(false);
     this.popupControlContainerFilter.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkNghi_Nam.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkNghi_KLuong.Properties)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #5
0
ファイル: AppCtrl.cs プロジェクト: khanhdtn/my-office-manager
        public static void InitTreeChonNhanVien_Choice1(PLDMTreeGroup tree, bool? IsAdd)
        {
            if (IsAdd == true)
            {
                tree.InitReadOnly("NAME", "V_PHONG_BAN_NHAN_VIEN_VISBLE", null, "ID", "PARENT_ID",
               new string[] { "NAME" },
               new string[] { "Nhân viên" });
            }
            else
            {

                tree.InitReadOnly("NAME", "V_PHONG_BAN_NHAN_VIEN", null, "ID", "PARENT_ID",
                    new string[] { "NAME" },
                    new string[] { "Nhân viên" });
            }
            PopupContainerControl popup = tree.Controls["popupContainerControl1"] as PopupContainerControl;
            if (popup == null) return;
            DMTreeGroup tr = popup.Controls["plGroupCatNew1"] as DMTreeGroup;
            if (tr == null) return;
            foreach (TreeListColumn col in tr.TreeList_1.Columns)
            {
                col.OptionsColumn.AllowFocus = false;
            }

            int IndexGroupImage = -1;
            int IndexImage = -1;
            int IndexRootImage = -1;
            tr.TreeList_1.SelectImageList = null;
            DataTable dt = tr.TreeList_1.DataSource as DataTable;
            ImageCollection imList = new ImageCollection();
            imList.ImageSize = new Size(20, 20);
            dt.DefaultView.Sort = "IS_GROUP DESC ,NAME ASC";
            Image rimg = ResourceMan.getImage("navNoiBaoHanh.png");
            Image gimg = ResourceMan.getImage("mnbKhachHangNhom.png");
            Image img = ResourceMan.getImage("mnbTTinKhachHang.png");
            if (gimg != null || img != null || rimg != null)
            {
                IndexRootImage = imList.Images.Add(rimg, "navNoiBaoHanh.png");
                IndexGroupImage = imList.Images.Add(gimg, "mnbKhachHangNhom.png");
                IndexImage = imList.Images.Add(img, "mnbTTinKhachHang.png");
                tr.TreeList_1.StateImageList = imList;
            }
            else tr.TreeList_1.StateImageList = null;
            tr.TreeList_1.OptionsView.ShowIndicator = false;

            tr.TreeList_1.GetStateImage += delegate(object sender, DevExpress.XtraTreeList.GetStateImageEventArgs e)
            {
                if (e.Node.Level == 0)
                {

                    e.Node.StateImageIndex = IndexRootImage;
                }
                else
                {
                    if (e.Node["IS_GROUP"].ToString() == "Y")
                    {
                        e.Node.StateImageIndex = IndexGroupImage;
                    }
                    else e.Node.StateImageIndex = IndexImage;
                }
            };
            tr.TreeList_1.FocusedNodeChanged += delegate(object sender, DevExpress.XtraTreeList.FocusedNodeChangedEventArgs e)
            {

                if (e.Node["IS_GROUP"].ToString() == "Y")
                {
                    tr.btnAdd.Owner.Items["btnSelect"].Enabled = false;
                }
                else
                {
                    tr.btnAdd.Owner.Items["btnSelect"].Enabled = true;

                }
            };
            long selected = -1;

            tree.popupContainerEdit1.Popup += delegate(object sender, EventArgs e)
               {
               selected = tree._getSelectedID();
               };
            tree.popupContainerEdit1.QueryCloseUp += delegate(object sender, System.ComponentModel.CancelEventArgs e)
            {
                if (tr.SelectedNode != null)
                {
                    if (tr.SelectedNode["IS_GROUP"].ToString() == "Y")
                    {
                        e.Cancel = true;
                        DevExpress.XtraTreeList.Nodes.TreeListNode n = tr.TreeList_1.FindNodeByFieldValue("ID", selected);
                        //if (n != null)
                        tr.SelectedNode = n;
                        tree._setSelectedID(selected);
                    }
                }
            };
        }
コード例 #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 protected void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPhieuTamUngQL));
     this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
     this.MainBar = new DevExpress.XtraBars.Bar();
     this.barButtonItemAdd = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemXem = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemDelete = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemUpdate = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemPrint = new DevExpress.XtraBars.BarButtonItem();
     this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components);
     this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemDuyet = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemKoDuyet = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemCommit = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemNoCommit = new DevExpress.XtraBars.BarButtonItem();
     this.barSubItem1 = new DevExpress.XtraBars.BarSubItem();
     this.barButtonItemSearch = new DevExpress.XtraBars.BarButtonItem();
     this.popupMenuFilter = new DevExpress.XtraBars.PopupMenu(this.components);
     this.barCheckItemFilter = new DevExpress.XtraBars.BarCheckItem();
     this.barButtonItemClose = new DevExpress.XtraBars.BarButtonItem();
     this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
     this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem();
     this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem();
     this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
     this.gridControlMaster = new DevExpress.XtraGrid.GridControl();
     this.gridViewMaster = new DevExpress.XtraGrid.Views.Grid.PLGridView();
     this.colID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMaphieu = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colNguoiDeNghi = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colNgayXinTamUng = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSoTien = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colLyDo = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colNguoiDuyet = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colGhichu = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colThangTamUng = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colQuaLuong = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colKetChuyen = new DevExpress.XtraGrid.Columns.GridColumn();
     this.xtraTabControlDetail = new DevExpress.XtraTab.XtraTabControl();
     this.xtraTabPageDetail = new DevExpress.XtraTab.XtraTabPage();
     this.gridControlDetail = new DevExpress.XtraGrid.GridControl();
     this.gridViewDetail = new DevExpress.XtraGrid.Views.Grid.PLGridView();
     this.popupControlContainerFilter = new DevExpress.XtraBars.PopupControlContainer(this.components);
     this.NhanVien = new ProtocolVN.Framework.Win.PLDMTreeGroup();
     this.chkEditQuaLuong = new DevExpress.XtraEditors.CheckEdit();
     this.chkEditKetChuyen = new DevExpress.XtraEditors.CheckEdit();
     this.dateThangNamDen = new ProtocolVN.Framework.Win.PLMonthYearTimeEdit();
     this.plLabel2 = new System.Windows.Forms.PLLabel();
     this.dateThangNam = new ProtocolVN.Framework.Win.PLMonthYearTimeEdit();
     this.plLabel1 = new System.Windows.Forms.PLLabel();
     this.DuyetSelect = new ProtocolVN.Framework.Win.PLDuyetCheckbox();
     this.labelControl11 = new System.Windows.Forms.PLLabel();
     this.plTreeSelectItem1 = new ProtocolVN.Framework.Win.PLDMTreeGroupElement();
     this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).BeginInit();
     this.xtraTabControlDetail.SuspendLayout();
     this.xtraTabPageDetail.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).BeginInit();
     this.popupControlContainerFilter.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chkEditQuaLuong.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkEditKetChuyen.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // barManager1
     //
     this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
     this.MainBar});
     this.barManager1.DockControls.Add(this.barDockControlTop);
     this.barManager1.DockControls.Add(this.barDockControlBottom);
     this.barManager1.DockControls.Add(this.barDockControlLeft);
     this.barManager1.DockControls.Add(this.barDockControlRight);
     this.barManager1.Form = this;
     this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.barButtonItemAdd,
     this.barButtonItemDelete,
     this.barButtonItemUpdate,
     this.barButtonItemPrint,
     this.barStaticItem1,
     this.barButtonItem1,
     this.barButtonItem2,
     this.barButtonItemCommit,
     this.barButtonItemNoCommit,
     this.barSubItem1,
     this.barButtonItemXem,
     this.barButtonItemSearch,
     this.barButtonItemClose,
     this.barCheckItemFilter,
     this.barButtonItem3,
     this.barButtonItem4,
     this.barButtonItem5,
     this.barButtonItemDuyet,
     this.barButtonItemKoDuyet});
     this.barManager1.MaxItemId = 37;
     //
     // MainBar
     //
     this.MainBar.BarName = "MainBar";
     this.MainBar.DockCol = 0;
     this.MainBar.DockRow = 0;
     this.MainBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.MainBar.FloatLocation = new System.Drawing.Point(39, 133);
     this.MainBar.FloatSize = new System.Drawing.Size(72, 73);
     this.MainBar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Caption, this.barButtonItemAdd, "&Thêm"),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemXem),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDelete),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemUpdate),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemPrint, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDuyet, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemKoDuyet),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemCommit),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemNoCommit),
     new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem1, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemSearch, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemClose, true)});
     this.MainBar.OptionsBar.AllowQuickCustomization = false;
     this.MainBar.OptionsBar.DrawDragBorder = false;
     this.MainBar.OptionsBar.RotateWhenVertical = false;
     this.MainBar.OptionsBar.UseWholeRow = true;
     this.MainBar.Text = "Custom 1";
     //
     // barButtonItemAdd
     //
     this.barButtonItemAdd.Caption = "Thêm";
     this.barButtonItemAdd.Id = 0;
     this.barButtonItemAdd.Name = "barButtonItemAdd";
     this.barButtonItemAdd.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemXem
     //
     this.barButtonItemXem.Caption = "X&em";
     this.barButtonItemXem.Id = 24;
     this.barButtonItemXem.Name = "barButtonItemXem";
     this.barButtonItemXem.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemDelete
     //
     this.barButtonItemDelete.Caption = "&Xóa";
     this.barButtonItemDelete.Id = 1;
     this.barButtonItemDelete.Name = "barButtonItemDelete";
     this.barButtonItemDelete.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemUpdate
     //
     this.barButtonItemUpdate.Caption = "&Sửa";
     this.barButtonItemUpdate.Id = 2;
     this.barButtonItemUpdate.Name = "barButtonItemUpdate";
     this.barButtonItemUpdate.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemPrint
     //
     this.barButtonItemPrint.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.barButtonItemPrint.Caption = "&In";
     this.barButtonItemPrint.DropDownControl = this.popupMenu1;
     this.barButtonItemPrint.Id = 3;
     this.barButtonItemPrint.Name = "barButtonItemPrint";
     this.barButtonItemPrint.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // popupMenu1
     //
     this.popupMenu1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4)});
     this.popupMenu1.Manager = this.barManager1;
     this.popupMenu1.Name = "popupMenu1";
     //
     // barButtonItem4
     //
     this.barButtonItem4.Caption = "Xem t&rước";
     this.barButtonItem4.Id = 33;
     this.barButtonItem4.Name = "barButtonItem4";
     //
     // barButtonItemDuyet
     //
     this.barButtonItemDuyet.Caption = "&Duyệt";
     this.barButtonItemDuyet.Id = 35;
     this.barButtonItemDuyet.Name = "barButtonItemDuyet";
     this.barButtonItemDuyet.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.barButtonItemDuyet.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemDuyet_ItemClick);
     //
     // barButtonItemKoDuyet
     //
     this.barButtonItemKoDuyet.Caption = "&Không duyệt";
     this.barButtonItemKoDuyet.Id = 36;
     this.barButtonItemKoDuyet.Name = "barButtonItemKoDuyet";
     this.barButtonItemKoDuyet.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.barButtonItemKoDuyet.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemKoDuyet_ItemClick);
     //
     // barButtonItemCommit
     //
     this.barButtonItemCommit.Caption = "&Duyệt";
     this.barButtonItemCommit.Id = 17;
     this.barButtonItemCommit.Name = "barButtonItemCommit";
     this.barButtonItemCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemNoCommit
     //
     this.barButtonItemNoCommit.Caption = "&Không duyệt";
     this.barButtonItemNoCommit.Id = 18;
     this.barButtonItemNoCommit.Name = "barButtonItemNoCommit";
     this.barButtonItemNoCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barSubItem1
     //
     this.barSubItem1.Caption = "&Nghiệp vụ";
     this.barSubItem1.Id = 20;
     this.barSubItem1.Name = "barSubItem1";
     this.barSubItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemSearch
     //
     this.barButtonItemSearch.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.barButtonItemSearch.Caption = "Tì&m kiếm";
     this.barButtonItemSearch.DropDownControl = this.popupMenuFilter;
     this.barButtonItemSearch.Id = 27;
     this.barButtonItemSearch.Name = "barButtonItemSearch";
     this.barButtonItemSearch.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // popupMenuFilter
     //
     this.popupMenuFilter.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.barCheckItemFilter)});
     this.popupMenuFilter.Manager = this.barManager1;
     this.popupMenuFilter.Name = "popupMenuFilter";
     //
     // barCheckItemFilter
     //
     this.barCheckItemFilter.Caption = "Điề&u kiện tìm kiếm";
     this.barCheckItemFilter.Checked = true;
     this.barCheckItemFilter.Id = 29;
     this.barCheckItemFilter.Name = "barCheckItemFilter";
     this.barCheckItemFilter.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemClose
     //
     this.barButtonItemClose.Caption = "Đón&g";
     this.barButtonItemClose.Id = 28;
     this.barButtonItemClose.Name = "barButtonItemClose";
     this.barButtonItemClose.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barDockControlTop
     //
     this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Size = new System.Drawing.Size(912, 24);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location = new System.Drawing.Point(0, 497);
     this.barDockControlBottom.Size = new System.Drawing.Size(912, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location = new System.Drawing.Point(0, 24);
     this.barDockControlLeft.Size = new System.Drawing.Size(0, 473);
     //
     // barDockControlRight
     //
     this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location = new System.Drawing.Point(912, 24);
     this.barDockControlRight.Size = new System.Drawing.Size(0, 473);
     //
     // barStaticItem1
     //
     this.barStaticItem1.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None;
     this.barStaticItem1.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.barStaticItem1.Id = 13;
     this.barStaticItem1.Name = "barStaticItem1";
     this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near;
     this.barStaticItem1.Width = 100;
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption = "barButtonItem1";
     this.barButtonItem1.Id = 14;
     this.barButtonItem1.Name = "barButtonItem1";
     //
     // barButtonItem2
     //
     this.barButtonItem2.Caption = "barButtonItem2";
     this.barButtonItem2.Id = 15;
     this.barButtonItem2.Name = "barButtonItem2";
     //
     // barButtonItem3
     //
     this.barButtonItem3.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.barButtonItem3.Caption = "In";
     this.barButtonItem3.Id = 30;
     this.barButtonItem3.Name = "barButtonItem3";
     //
     // barButtonItem5
     //
     this.barButtonItem5.Caption = "barButtonItem5";
     this.barButtonItem5.Id = 34;
     this.barButtonItem5.Name = "barButtonItem5";
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl1.Horizontal = false;
     this.splitContainerControl1.Location = new System.Drawing.Point(0, 88);
     this.splitContainerControl1.Name = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Controls.Add(this.gridControlMaster);
     this.splitContainerControl1.Panel1.Text = "splitContainerControl1_Panel1";
     this.splitContainerControl1.Panel2.CaptionLocation = DevExpress.Utils.Locations.Left;
     this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControlDetail);
     this.splitContainerControl1.Panel2.ShowCaption = true;
     this.splitContainerControl1.Panel2.Text = "splitContainerControl1_Panel2";
     this.splitContainerControl1.Size = new System.Drawing.Size(912, 409);
     this.splitContainerControl1.SplitterPosition = 175;
     this.splitContainerControl1.TabIndex = 4;
     this.splitContainerControl1.Text = "splitContainerControl1";
     //
     // gridControlMaster
     //
     this.gridControlMaster.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlMaster.BackgroundImage")));
     this.gridControlMaster.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.gridControlMaster.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMaster.Location = new System.Drawing.Point(0, 0);
     this.gridControlMaster.MainView = this.gridViewMaster;
     this.gridControlMaster.Name = "gridControlMaster";
     this.gridControlMaster.Size = new System.Drawing.Size(912, 175);
     this.gridControlMaster.TabIndex = 0;
     this.gridControlMaster.TabStop = false;
     this.gridControlMaster.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMaster});
     //
     // gridViewMaster
     //
     this.gridViewMaster.Appearance.GroupPanel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Inch);
     this.gridViewMaster.Appearance.GroupPanel.Options.UseFont = true;
     this.gridViewMaster.Appearance.HeaderPanel.Options.UseTextOptions = true;
     this.gridViewMaster.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridViewMaster.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colID,
     this.colMaphieu,
     this.colNguoiDeNghi,
     this.colNgayXinTamUng,
     this.colSoTien,
     this.colLyDo,
     this.colNguoiDuyet,
     this.colGhichu,
     this.colThangTamUng,
     this.colQuaLuong,
     this.colKetChuyen});
     this.gridViewMaster.GridControl = this.gridControlMaster;
     this.gridViewMaster.GroupCount = 1;
     this.gridViewMaster.GroupPanelText = "DANH SÁCH TẠM ỨNG ";
     this.gridViewMaster.IndicatorWidth = 40;
     this.gridViewMaster.Name = "gridViewMaster";
     this.gridViewMaster.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewMaster.OptionsNavigation.AutoFocusNewRow = true;
     this.gridViewMaster.OptionsNavigation.EnterMoveNextColumn = true;
     this.gridViewMaster.OptionsPrint.UsePrintStyles = true;
     this.gridViewMaster.OptionsSelection.MultiSelect = true;
     this.gridViewMaster.OptionsView.EnableAppearanceEvenRow = true;
     this.gridViewMaster.OptionsView.EnableAppearanceOddRow = true;
     this.gridViewMaster.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
     this.gridViewMaster.OptionsView.ShowGroupedColumns = true;
     this.gridViewMaster.OptionsView.ShowGroupPanel = false;
     this.gridViewMaster.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colThangTamUng, DevExpress.Data.ColumnSortOrder.Ascending)});
     //
     // colID
     //
     this.colID.Caption = "ID";
     this.colID.Name = "colID";
     this.colID.Width = 23;
     //
     // colMaphieu
     //
     this.colMaphieu.Caption = "Mã phiếu";
     this.colMaphieu.Name = "colMaphieu";
     this.colMaphieu.Visible = true;
     this.colMaphieu.VisibleIndex = 0;
     this.colMaphieu.Width = 55;
     //
     // colNguoiDeNghi
     //
     this.colNguoiDeNghi.Caption = "Người tạm ứng";
     this.colNguoiDeNghi.MinWidth = 126;
     this.colNguoiDeNghi.Name = "colNguoiDeNghi";
     this.colNguoiDeNghi.Visible = true;
     this.colNguoiDeNghi.VisibleIndex = 1;
     this.colNguoiDeNghi.Width = 126;
     //
     // colNgayXinTamUng
     //
     this.colNgayXinTamUng.Caption = "Ngày đề nghị";
     this.colNgayXinTamUng.MinWidth = 126;
     this.colNgayXinTamUng.Name = "colNgayXinTamUng";
     this.colNgayXinTamUng.Visible = true;
     this.colNgayXinTamUng.VisibleIndex = 2;
     this.colNgayXinTamUng.Width = 126;
     //
     // colSoTien
     //
     this.colSoTien.Caption = "Số tiền (VNĐ)";
     this.colSoTien.MinWidth = 126;
     this.colSoTien.Name = "colSoTien";
     this.colSoTien.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.colSoTien.Visible = true;
     this.colSoTien.VisibleIndex = 3;
     this.colSoTien.Width = 126;
     //
     // colLyDo
     //
     this.colLyDo.Caption = "Lý do";
     this.colLyDo.MinWidth = 126;
     this.colLyDo.Name = "colLyDo";
     this.colLyDo.Visible = true;
     this.colLyDo.VisibleIndex = 4;
     this.colLyDo.Width = 126;
     //
     // colNguoiDuyet
     //
     this.colNguoiDuyet.Caption = "Người duyệt";
     this.colNguoiDuyet.Name = "colNguoiDuyet";
     this.colNguoiDuyet.Width = 71;
     //
     // colGhichu
     //
     this.colGhichu.Caption = "Ghi chú";
     this.colGhichu.Name = "colGhichu";
     this.colGhichu.Width = 47;
     //
     // colThangTamUng
     //
     this.colThangTamUng.Caption = "Tháng tạm ứng";
     this.colThangTamUng.Name = "colThangTamUng";
     this.colThangTamUng.Width = 98;
     //
     // colQuaLuong
     //
     this.colQuaLuong.Caption = "Kết chuyển qua lương";
     this.colQuaLuong.Name = "colQuaLuong";
     this.colQuaLuong.Width = 117;
     //
     // colKetChuyen
     //
     this.colKetChuyen.Caption = "Kết chuyển từ lương";
     this.colKetChuyen.Name = "colKetChuyen";
     this.colKetChuyen.Width = 110;
     //
     // xtraTabControlDetail
     //
     this.xtraTabControlDetail.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraTabControlDetail.Location = new System.Drawing.Point(0, 0);
     this.xtraTabControlDetail.Name = "xtraTabControlDetail";
     this.xtraTabControlDetail.SelectedTabPage = this.xtraTabPageDetail;
     this.xtraTabControlDetail.Size = new System.Drawing.Size(912, 228);
     this.xtraTabControlDetail.TabIndex = 0;
     this.xtraTabControlDetail.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.xtraTabPageDetail});
     this.xtraTabControlDetail.TabStop = false;
     //
     // xtraTabPageDetail
     //
     this.xtraTabPageDetail.Controls.Add(this.gridControlDetail);
     this.xtraTabPageDetail.Name = "xtraTabPageDetail";
     this.xtraTabPageDetail.Size = new System.Drawing.Size(905, 199);
     this.xtraTabPageDetail.Text = "Chi tiết";
     //
     // gridControlDetail
     //
     this.gridControlDetail.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlDetail.BackgroundImage")));
     this.gridControlDetail.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.gridControlDetail.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlDetail.Location = new System.Drawing.Point(0, 0);
     this.gridControlDetail.MainView = this.gridViewDetail;
     this.gridControlDetail.Name = "gridControlDetail";
     this.gridControlDetail.Size = new System.Drawing.Size(905, 199);
     this.gridControlDetail.TabIndex = 113;
     this.gridControlDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewDetail});
     //
     // gridViewDetail
     //
     this.gridViewDetail.Appearance.HeaderPanel.Options.UseTextOptions = true;
     this.gridViewDetail.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridViewDetail.GridControl = this.gridControlDetail;
     this.gridViewDetail.GroupPanelText = "Phí dịch vụ";
     this.gridViewDetail.IndicatorWidth = 40;
     this.gridViewDetail.Name = "gridViewDetail";
     this.gridViewDetail.OptionsBehavior.AutoExpandAllGroups = true;
     this.gridViewDetail.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewDetail.OptionsNavigation.AutoFocusNewRow = true;
     this.gridViewDetail.OptionsNavigation.EnterMoveNextColumn = true;
     this.gridViewDetail.OptionsPrint.UsePrintStyles = true;
     this.gridViewDetail.OptionsView.EnableAppearanceEvenRow = true;
     this.gridViewDetail.OptionsView.EnableAppearanceOddRow = true;
     this.gridViewDetail.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
     this.gridViewDetail.OptionsView.ShowFooter = true;
     this.gridViewDetail.OptionsView.ShowGroupedColumns = true;
     //
     // popupControlContainerFilter
     //
     this.popupControlContainerFilter.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.popupControlContainerFilter.Controls.Add(this.NhanVien);
     this.popupControlContainerFilter.Controls.Add(this.chkEditQuaLuong);
     this.popupControlContainerFilter.Controls.Add(this.chkEditKetChuyen);
     this.popupControlContainerFilter.Controls.Add(this.dateThangNamDen);
     this.popupControlContainerFilter.Controls.Add(this.plLabel2);
     this.popupControlContainerFilter.Controls.Add(this.dateThangNam);
     this.popupControlContainerFilter.Controls.Add(this.plLabel1);
     this.popupControlContainerFilter.Controls.Add(this.DuyetSelect);
     this.popupControlContainerFilter.Controls.Add(this.labelControl11);
     this.popupControlContainerFilter.Controls.Add(this.plTreeSelectItem1);
     this.popupControlContainerFilter.Dock = System.Windows.Forms.DockStyle.Top;
     this.popupControlContainerFilter.Location = new System.Drawing.Point(0, 24);
     this.popupControlContainerFilter.Manager = this.barManager1;
     this.popupControlContainerFilter.Name = "popupControlContainerFilter";
     this.popupControlContainerFilter.Size = new System.Drawing.Size(912, 64);
     this.popupControlContainerFilter.TabIndex = 0;
     this.popupControlContainerFilter.Visible = false;
     //
     // NhanVien
     //
     this.NhanVien.Location = new System.Drawing.Point(436, 8);
     this.NhanVien.Name = "NhanVien";
     this.NhanVien.Size = new System.Drawing.Size(216, 20);
     this.NhanVien.TabIndex = 2;
     //
     // chkEditQuaLuong
     //
     this.chkEditQuaLuong.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.chkEditQuaLuong.Location = new System.Drawing.Point(768, 33);
     this.chkEditQuaLuong.MenuManager = this.barManager1;
     this.chkEditQuaLuong.Name = "chkEditQuaLuong";
     this.chkEditQuaLuong.Properties.Caption = "Kết chuyển qua lương";
     this.chkEditQuaLuong.Size = new System.Drawing.Size(133, 19);
     this.chkEditQuaLuong.TabIndex = 210;
     //
     // chkEditKetChuyen
     //
     this.chkEditKetChuyen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.chkEditKetChuyen.Location = new System.Drawing.Point(768, 8);
     this.chkEditKetChuyen.MenuManager = this.barManager1;
     this.chkEditKetChuyen.Name = "chkEditKetChuyen";
     this.chkEditKetChuyen.Properties.Caption = "Kết chuyển từ lương";
     this.chkEditKetChuyen.Size = new System.Drawing.Size(126, 19);
     this.chkEditKetChuyen.TabIndex = 209;
     //
     // dateThangNamDen
     //
     this.dateThangNamDen.Location = new System.Drawing.Point(232, 8);
     this.dateThangNamDen.Name = "dateThangNamDen";
     this.dateThangNamDen.Size = new System.Drawing.Size(97, 25);
     this.dateThangNamDen.TabIndex = 1;
     //
     // plLabel2
     //
     this.plLabel2.Location = new System.Drawing.Point(208, 11);
     this.plLabel2.Name = "plLabel2";
     this.plLabel2.Size = new System.Drawing.Size(18, 13);
     this.plLabel2.TabIndex = 208;
     this.plLabel2.Text = "đến";
     this.plLabel2.ToolTip = "Dữ liệu bắt buộc nhập";
     this.plLabel2.ZZZType = System.Windows.Forms.PLLabel.LabelType.REQUIRED;
     //
     // dateThangNam
     //
     this.dateThangNam.Location = new System.Drawing.Point(105, 8);
     this.dateThangNam.Name = "dateThangNam";
     this.dateThangNam.Size = new System.Drawing.Size(97, 25);
     this.dateThangNam.TabIndex = 0;
     //
     // plLabel1
     //
     this.plLabel1.Location = new System.Drawing.Point(12, 11);
     this.plLabel1.Name = "plLabel1";
     this.plLabel1.Size = new System.Drawing.Size(87, 13);
     this.plLabel1.TabIndex = 206;
     this.plLabel1.Text = "Tháng tạm ứng từ";
     this.plLabel1.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL;
     //
     // DuyetSelect
     //
     this.DuyetSelect.Location = new System.Drawing.Point(428, 34);
     this.DuyetSelect.Name = "DuyetSelect";
     this.DuyetSelect.Size = new System.Drawing.Size(216, 24);
     this.DuyetSelect.TabIndex = 3;
     //
     // labelControl11
     //
     this.labelControl11.Location = new System.Drawing.Point(359, 11);
     this.labelControl11.Name = "labelControl11";
     this.labelControl11.Size = new System.Drawing.Size(71, 13);
     this.labelControl11.TabIndex = 195;
     this.labelControl11.Text = "Người tạm ứng";
     this.labelControl11.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL;
     //
     // plTreeSelectItem1
     //
     this.plTreeSelectItem1.Location = new System.Drawing.Point(605, -20);
     this.plTreeSelectItem1.Name = "plTreeSelectItem1";
     this.plTreeSelectItem1.Size = new System.Drawing.Size(167, 20);
     this.plTreeSelectItem1.TabIndex = 193;
     this.plTreeSelectItem1.ZZZWidthFactor = 2F;
     //
     // gridColumn8
     //
     this.gridColumn8.Caption = "VAT";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.Visible = true;
     this.gridColumn8.VisibleIndex = 5;
     //
     // gridColumn6
     //
     this.gridColumn6.Caption = "VAT";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 5;
     this.gridColumn6.Width = 96;
     //
     // frmPhieuTamUngQL
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(912, 497);
     this.Controls.Add(this.splitContainerControl1);
     this.Controls.Add(this.popupControlContainerFilter);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Name = "frmPhieuTamUngQL";
     this.Text = "Quản lý tạm ứng";
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).EndInit();
     this.xtraTabControlDetail.ResumeLayout(false);
     this.xtraTabPageDetail.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).EndInit();
     this.popupControlContainerFilter.ResumeLayout(false);
     this.popupControlContainerFilter.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chkEditQuaLuong.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkEditKetChuyen.Properties)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #7
0
        /// <summary>
        /// Permission for control(property Enable "True" or "False"). 
        /// Uses this because the Framework do not support.
        /// </summary>
        /// <param name="control">control for appling permission</param>
        /// <param name="adminPermission"></param>
        /// <param name="editorPermission"></param>
        public static void PermissionForControl(PLDMTreeGroup control,bool adminPermission,bool editorPermission)
        {
            if (adminPermission) control.Visible = true;
            else if (editorPermission) control.Visible = true;
            else {
                control.Visible = true;
                control.Enabled = false;
            }

            if (control._getSelectedID() == -1)
                control._setSelectedID(FrameworkParams.currentUser.employee_id);
        }
コード例 #8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 protected void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPhieuXacNhanLamViecQL));
     this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
     this.MainBar = new DevExpress.XtraBars.Bar();
     this.barButtonItemAdd = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemXem = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemDelete = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemUpdate = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemPrint = new DevExpress.XtraBars.BarButtonItem();
     this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components);
     this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemDuyet = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemK_Duyet = new DevExpress.XtraBars.BarButtonItem();
     this.barSubItem1 = new DevExpress.XtraBars.BarSubItem();
     this.barButtonItemSearch = new DevExpress.XtraBars.BarButtonItem();
     this.popupMenuFilter = new DevExpress.XtraBars.PopupMenu(this.components);
     this.barCheckItemFilter = new DevExpress.XtraBars.BarCheckItem();
     this.barButtonItemClose = new DevExpress.XtraBars.BarButtonItem();
     this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
     this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem();
     this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemCommit = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemNoCommit = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem();
     this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
     this.gridControlMaster = new DevExpress.XtraGrid.GridControl();
     this.gridViewMaster = new DevExpress.XtraGrid.Views.Grid.PLGridView();
     this.ColMaster_ID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ColMaster_NhanVien = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ColMasterNgay = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ColMaster_TG_Tu = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ColMaster_TG_Den = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ColMaster_NoiDung = new DevExpress.XtraGrid.Columns.GridColumn();
     this.CoMaster_LoaiXacNhan = new DevExpress.XtraGrid.Columns.GridColumn();
     this.cotThoiGianCN = new DevExpress.XtraGrid.Columns.GridColumn();
     this.xtraTabControlDetail = new DevExpress.XtraTab.XtraTabControl();
     this.xtraTabPageDetail = new DevExpress.XtraTab.XtraTabPage();
     this.gridControlDetail = new DevExpress.XtraGrid.GridControl();
     this.gridViewDetail = new DevExpress.XtraGrid.Views.Grid.PLGridView();
     this.popupControlContainerFilter = new DevExpress.XtraBars.PopupControlContainer(this.components);
     this.ngayLamViec = new ProtocolVN.Framework.Win.Office.PLDateSelection();
     this.chkCus = new DevExpress.XtraEditors.CheckEdit();
     this.chkCompany = new DevExpress.XtraEditors.CheckEdit();
     this.DuyetSelect = new ProtocolVN.Framework.Win.PLDuyetCheckbox();
     this.plLabel6 = new System.Windows.Forms.PLLabel();
     this.plLabel1 = new System.Windows.Forms.PLLabel();
     this.plTreeSelectItem1 = new ProtocolVN.Framework.Win.PLDMTreeGroupElement();
     this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.NhanVien = new ProtocolVN.Framework.Win.PLDMTreeGroup();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).BeginInit();
     this.xtraTabControlDetail.SuspendLayout();
     this.xtraTabPageDetail.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).BeginInit();
     this.popupControlContainerFilter.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chkCus.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkCompany.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // barManager1
     //
     this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
     this.MainBar});
     this.barManager1.DockControls.Add(this.barDockControlTop);
     this.barManager1.DockControls.Add(this.barDockControlBottom);
     this.barManager1.DockControls.Add(this.barDockControlLeft);
     this.barManager1.DockControls.Add(this.barDockControlRight);
     this.barManager1.Form = this;
     this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.barButtonItemAdd,
     this.barButtonItemDelete,
     this.barButtonItemUpdate,
     this.barButtonItemPrint,
     this.barStaticItem1,
     this.barButtonItem1,
     this.barButtonItem2,
     this.barButtonItemCommit,
     this.barButtonItemNoCommit,
     this.barSubItem1,
     this.barButtonItemXem,
     this.barButtonItemSearch,
     this.barButtonItemClose,
     this.barCheckItemFilter,
     this.barButtonItem3,
     this.barButtonItem4,
     this.barButtonItem5,
     this.barButtonItemDuyet,
     this.barButtonItemK_Duyet});
     this.barManager1.MaxItemId = 37;
     //
     // MainBar
     //
     this.MainBar.BarName = "MainBar";
     this.MainBar.DockCol = 0;
     this.MainBar.DockRow = 0;
     this.MainBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.MainBar.FloatLocation = new System.Drawing.Point(39, 133);
     this.MainBar.FloatSize = new System.Drawing.Size(72, 73);
     this.MainBar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Caption, this.barButtonItemAdd, "&Thêm"),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemXem),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDelete),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemUpdate),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemPrint, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDuyet, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemK_Duyet),
     new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem1, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemSearch, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemClose, true)});
     this.MainBar.OptionsBar.AllowQuickCustomization = false;
     this.MainBar.OptionsBar.DrawDragBorder = false;
     this.MainBar.OptionsBar.RotateWhenVertical = false;
     this.MainBar.OptionsBar.UseWholeRow = true;
     this.MainBar.Text = "Custom 1";
     //
     // barButtonItemAdd
     //
     this.barButtonItemAdd.Caption = "Thêm";
     this.barButtonItemAdd.Id = 0;
     this.barButtonItemAdd.Name = "barButtonItemAdd";
     this.barButtonItemAdd.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemXem
     //
     this.barButtonItemXem.Caption = "X&em";
     this.barButtonItemXem.Id = 24;
     this.barButtonItemXem.Name = "barButtonItemXem";
     this.barButtonItemXem.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemDelete
     //
     this.barButtonItemDelete.Caption = "&Xóa";
     this.barButtonItemDelete.Id = 1;
     this.barButtonItemDelete.Name = "barButtonItemDelete";
     this.barButtonItemDelete.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemUpdate
     //
     this.barButtonItemUpdate.Caption = "&Sửa";
     this.barButtonItemUpdate.Id = 2;
     this.barButtonItemUpdate.Name = "barButtonItemUpdate";
     this.barButtonItemUpdate.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemPrint
     //
     this.barButtonItemPrint.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.barButtonItemPrint.Caption = "&In";
     this.barButtonItemPrint.DropDownControl = this.popupMenu1;
     this.barButtonItemPrint.Id = 3;
     this.barButtonItemPrint.Name = "barButtonItemPrint";
     this.barButtonItemPrint.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // popupMenu1
     //
     this.popupMenu1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4)});
     this.popupMenu1.Manager = this.barManager1;
     this.popupMenu1.Name = "popupMenu1";
     //
     // barButtonItem4
     //
     this.barButtonItem4.Caption = "Xem t&rước";
     this.barButtonItem4.Id = 33;
     this.barButtonItem4.Name = "barButtonItem4";
     //
     // barButtonItemDuyet
     //
     this.barButtonItemDuyet.Caption = "&Duyệt";
     this.barButtonItemDuyet.Id = 35;
     this.barButtonItemDuyet.Name = "barButtonItemDuyet";
     //
     // barButtonItemK_Duyet
     //
     this.barButtonItemK_Duyet.Caption = "&Không duyệt";
     this.barButtonItemK_Duyet.Id = 36;
     this.barButtonItemK_Duyet.Name = "barButtonItemK_Duyet";
     //
     // barSubItem1
     //
     this.barSubItem1.Caption = "&Nghiệp vụ";
     this.barSubItem1.Id = 20;
     this.barSubItem1.Name = "barSubItem1";
     this.barSubItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemSearch
     //
     this.barButtonItemSearch.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.barButtonItemSearch.Caption = "Tì&m kiếm";
     this.barButtonItemSearch.DropDownControl = this.popupMenuFilter;
     this.barButtonItemSearch.Id = 27;
     this.barButtonItemSearch.Name = "barButtonItemSearch";
     this.barButtonItemSearch.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // popupMenuFilter
     //
     this.popupMenuFilter.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.barCheckItemFilter)});
     this.popupMenuFilter.Manager = this.barManager1;
     this.popupMenuFilter.Name = "popupMenuFilter";
     //
     // barCheckItemFilter
     //
     this.barCheckItemFilter.Caption = "Điề&u kiện tìm kiếm";
     this.barCheckItemFilter.Checked = true;
     this.barCheckItemFilter.Id = 29;
     this.barCheckItemFilter.Name = "barCheckItemFilter";
     this.barCheckItemFilter.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemClose
     //
     this.barButtonItemClose.Caption = "Đón&g";
     this.barButtonItemClose.Id = 28;
     this.barButtonItemClose.Name = "barButtonItemClose";
     this.barButtonItemClose.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barDockControlTop
     //
     this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Size = new System.Drawing.Size(912, 24);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location = new System.Drawing.Point(0, 497);
     this.barDockControlBottom.Size = new System.Drawing.Size(912, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location = new System.Drawing.Point(0, 24);
     this.barDockControlLeft.Size = new System.Drawing.Size(0, 473);
     //
     // barDockControlRight
     //
     this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location = new System.Drawing.Point(912, 24);
     this.barDockControlRight.Size = new System.Drawing.Size(0, 473);
     //
     // barStaticItem1
     //
     this.barStaticItem1.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None;
     this.barStaticItem1.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.barStaticItem1.Id = 13;
     this.barStaticItem1.Name = "barStaticItem1";
     this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near;
     this.barStaticItem1.Width = 100;
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption = "barButtonItem1";
     this.barButtonItem1.Id = 14;
     this.barButtonItem1.Name = "barButtonItem1";
     //
     // barButtonItem2
     //
     this.barButtonItem2.Caption = "barButtonItem2";
     this.barButtonItem2.Id = 15;
     this.barButtonItem2.Name = "barButtonItem2";
     //
     // barButtonItemCommit
     //
     this.barButtonItemCommit.Caption = "&Duyệt";
     this.barButtonItemCommit.Id = 17;
     this.barButtonItemCommit.Name = "barButtonItemCommit";
     this.barButtonItemCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemNoCommit
     //
     this.barButtonItemNoCommit.Caption = "&Không duyệt";
     this.barButtonItemNoCommit.Id = 18;
     this.barButtonItemNoCommit.Name = "barButtonItemNoCommit";
     this.barButtonItemNoCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItem3
     //
     this.barButtonItem3.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.barButtonItem3.Caption = "In";
     this.barButtonItem3.Id = 30;
     this.barButtonItem3.Name = "barButtonItem3";
     //
     // barButtonItem5
     //
     this.barButtonItem5.Caption = "barButtonItem5";
     this.barButtonItem5.Id = 34;
     this.barButtonItem5.Name = "barButtonItem5";
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.Collapsed = true;
     this.splitContainerControl1.CollapsePanel = DevExpress.XtraEditors.SplitCollapsePanel.Panel2;
     this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl1.Horizontal = false;
     this.splitContainerControl1.Location = new System.Drawing.Point(0, 92);
     this.splitContainerControl1.Name = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Controls.Add(this.gridControlMaster);
     this.splitContainerControl1.Panel1.Text = "splitContainerControl1_Panel1";
     this.splitContainerControl1.Panel2.CaptionLocation = DevExpress.Utils.Locations.Left;
     this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControlDetail);
     this.splitContainerControl1.Panel2.ShowCaption = true;
     this.splitContainerControl1.Panel2.Text = "splitContainerControl1_Panel2";
     this.splitContainerControl1.Size = new System.Drawing.Size(912, 405);
     this.splitContainerControl1.SplitterPosition = 175;
     this.splitContainerControl1.TabIndex = 4;
     this.splitContainerControl1.Text = "splitContainerControl1";
     //
     // gridControlMaster
     //
     this.gridControlMaster.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlMaster.BackgroundImage")));
     this.gridControlMaster.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.gridControlMaster.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMaster.Location = new System.Drawing.Point(0, 0);
     this.gridControlMaster.MainView = this.gridViewMaster;
     this.gridControlMaster.Name = "gridControlMaster";
     this.gridControlMaster.Size = new System.Drawing.Size(912, 399);
     this.gridControlMaster.TabIndex = 7;
     this.gridControlMaster.TabStop = false;
     this.gridControlMaster.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMaster});
     //
     // gridViewMaster
     //
     this.gridViewMaster.Appearance.GroupPanel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Inch);
     this.gridViewMaster.Appearance.GroupPanel.Options.UseFont = true;
     this.gridViewMaster.Appearance.HeaderPanel.Options.UseTextOptions = true;
     this.gridViewMaster.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridViewMaster.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.ColMaster_ID,
     this.ColMaster_NhanVien,
     this.ColMasterNgay,
     this.ColMaster_TG_Tu,
     this.ColMaster_TG_Den,
     this.ColMaster_NoiDung,
     this.CoMaster_LoaiXacNhan,
     this.cotThoiGianCN});
     this.gridViewMaster.GridControl = this.gridControlMaster;
     this.gridViewMaster.GroupCount = 1;
     this.gridViewMaster.GroupPanelText = "DANH SÁCH XÁC NHẬN LÀM VIỆC";
     this.gridViewMaster.IndicatorWidth = 40;
     this.gridViewMaster.Name = "gridViewMaster";
     this.gridViewMaster.OptionsBehavior.AutoExpandAllGroups = true;
     this.gridViewMaster.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewMaster.OptionsNavigation.AutoFocusNewRow = true;
     this.gridViewMaster.OptionsNavigation.EnterMoveNextColumn = true;
     this.gridViewMaster.OptionsPrint.UsePrintStyles = true;
     this.gridViewMaster.OptionsSelection.MultiSelect = true;
     this.gridViewMaster.OptionsView.EnableAppearanceEvenRow = true;
     this.gridViewMaster.OptionsView.EnableAppearanceOddRow = true;
     this.gridViewMaster.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
     this.gridViewMaster.OptionsView.ShowGroupedColumns = true;
     this.gridViewMaster.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.ColMasterNgay, DevExpress.Data.ColumnSortOrder.Descending)});
     //
     // ColMaster_ID
     //
     this.ColMaster_ID.Caption = "ID";
     this.ColMaster_ID.Name = "ColMaster_ID";
     this.ColMaster_ID.Width = 23;
     //
     // ColMaster_NhanVien
     //
     this.ColMaster_NhanVien.Caption = "Nhân viên";
     this.ColMaster_NhanVien.Name = "ColMaster_NhanVien";
     this.ColMaster_NhanVien.OptionsColumn.AllowEdit = false;
     this.ColMaster_NhanVien.OptionsColumn.AllowFocus = false;
     this.ColMaster_NhanVien.Visible = true;
     this.ColMaster_NhanVien.VisibleIndex = 0;
     this.ColMaster_NhanVien.Width = 60;
     //
     // ColMasterNgay
     //
     this.ColMasterNgay.Caption = "Ngày làm việc";
     this.ColMasterNgay.Name = "ColMasterNgay";
     this.ColMasterNgay.OptionsColumn.AllowEdit = false;
     this.ColMasterNgay.OptionsColumn.AllowFocus = false;
     this.ColMasterNgay.Visible = true;
     this.ColMasterNgay.VisibleIndex = 1;
     this.ColMasterNgay.Width = 91;
     //
     // ColMaster_TG_Tu
     //
     this.ColMaster_TG_Tu.Caption = "Từ (hh:mm)";
     this.ColMaster_TG_Tu.Name = "ColMaster_TG_Tu";
     this.ColMaster_TG_Tu.OptionsColumn.AllowEdit = false;
     this.ColMaster_TG_Tu.OptionsColumn.AllowFocus = false;
     this.ColMaster_TG_Tu.Visible = true;
     this.ColMaster_TG_Tu.VisibleIndex = 2;
     this.ColMaster_TG_Tu.Width = 68;
     //
     // ColMaster_TG_Den
     //
     this.ColMaster_TG_Den.Caption = "Đến (hh:mm)";
     this.ColMaster_TG_Den.Name = "ColMaster_TG_Den";
     this.ColMaster_TG_Den.OptionsColumn.AllowEdit = false;
     this.ColMaster_TG_Den.OptionsColumn.AllowFocus = false;
     this.ColMaster_TG_Den.Visible = true;
     this.ColMaster_TG_Den.VisibleIndex = 3;
     //
     // ColMaster_NoiDung
     //
     this.ColMaster_NoiDung.Caption = "Nội dung";
     this.ColMaster_NoiDung.Name = "ColMaster_NoiDung";
     this.ColMaster_NoiDung.Visible = true;
     this.ColMaster_NoiDung.VisibleIndex = 5;
     this.ColMaster_NoiDung.Width = 54;
     //
     // CoMaster_LoaiXacNhan
     //
     this.CoMaster_LoaiXacNhan.Caption = "Loại làm việc";
     this.CoMaster_LoaiXacNhan.Name = "CoMaster_LoaiXacNhan";
     this.CoMaster_LoaiXacNhan.OptionsColumn.AllowEdit = false;
     this.CoMaster_LoaiXacNhan.OptionsColumn.AllowFocus = false;
     this.CoMaster_LoaiXacNhan.Visible = true;
     this.CoMaster_LoaiXacNhan.VisibleIndex = 4;
     this.CoMaster_LoaiXacNhan.Width = 72;
     //
     // cotThoiGianCN
     //
     this.cotThoiGianCN.Caption = "Thời gian cập nhật";
     this.cotThoiGianCN.Name = "cotThoiGianCN";
     this.cotThoiGianCN.Visible = true;
     this.cotThoiGianCN.VisibleIndex = 6;
     this.cotThoiGianCN.Width = 100;
     //
     // xtraTabControlDetail
     //
     this.xtraTabControlDetail.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraTabControlDetail.Location = new System.Drawing.Point(0, 0);
     this.xtraTabControlDetail.Name = "xtraTabControlDetail";
     this.xtraTabControlDetail.SelectedTabPage = this.xtraTabPageDetail;
     this.xtraTabControlDetail.Size = new System.Drawing.Size(0, 0);
     this.xtraTabControlDetail.TabIndex = 0;
     this.xtraTabControlDetail.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.xtraTabPageDetail});
     this.xtraTabControlDetail.TabStop = false;
     //
     // xtraTabPageDetail
     //
     this.xtraTabPageDetail.Controls.Add(this.gridControlDetail);
     this.xtraTabPageDetail.Name = "xtraTabPageDetail";
     this.xtraTabPageDetail.Size = new System.Drawing.Size(0, 0);
     this.xtraTabPageDetail.Text = "Chi tiết";
     //
     // gridControlDetail
     //
     this.gridControlDetail.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlDetail.BackgroundImage")));
     this.gridControlDetail.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.gridControlDetail.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlDetail.Location = new System.Drawing.Point(0, 0);
     this.gridControlDetail.MainView = this.gridViewDetail;
     this.gridControlDetail.Name = "gridControlDetail";
     this.gridControlDetail.Size = new System.Drawing.Size(0, 0);
     this.gridControlDetail.TabIndex = 113;
     this.gridControlDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewDetail});
     //
     // gridViewDetail
     //
     this.gridViewDetail.Appearance.HeaderPanel.Options.UseTextOptions = true;
     this.gridViewDetail.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridViewDetail.GridControl = this.gridControlDetail;
     this.gridViewDetail.GroupPanelText = "Phí dịch vụ";
     this.gridViewDetail.IndicatorWidth = 40;
     this.gridViewDetail.Name = "gridViewDetail";
     this.gridViewDetail.OptionsBehavior.AutoExpandAllGroups = true;
     this.gridViewDetail.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewDetail.OptionsNavigation.AutoFocusNewRow = true;
     this.gridViewDetail.OptionsNavigation.EnterMoveNextColumn = true;
     this.gridViewDetail.OptionsPrint.UsePrintStyles = true;
     this.gridViewDetail.OptionsView.EnableAppearanceEvenRow = true;
     this.gridViewDetail.OptionsView.EnableAppearanceOddRow = true;
     this.gridViewDetail.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
     this.gridViewDetail.OptionsView.ShowFooter = true;
     this.gridViewDetail.OptionsView.ShowGroupedColumns = true;
     //
     // popupControlContainerFilter
     //
     this.popupControlContainerFilter.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.popupControlContainerFilter.Controls.Add(this.NhanVien);
     this.popupControlContainerFilter.Controls.Add(this.ngayLamViec);
     this.popupControlContainerFilter.Controls.Add(this.chkCus);
     this.popupControlContainerFilter.Controls.Add(this.chkCompany);
     this.popupControlContainerFilter.Controls.Add(this.DuyetSelect);
     this.popupControlContainerFilter.Controls.Add(this.plLabel6);
     this.popupControlContainerFilter.Controls.Add(this.plLabel1);
     this.popupControlContainerFilter.Controls.Add(this.plTreeSelectItem1);
     this.popupControlContainerFilter.Dock = System.Windows.Forms.DockStyle.Top;
     this.popupControlContainerFilter.Location = new System.Drawing.Point(0, 24);
     this.popupControlContainerFilter.Manager = this.barManager1;
     this.popupControlContainerFilter.Name = "popupControlContainerFilter";
     this.popupControlContainerFilter.Size = new System.Drawing.Size(912, 68);
     this.popupControlContainerFilter.TabIndex = 0;
     this.popupControlContainerFilter.Visible = false;
     //
     // ngayLamViec
     //
     this.ngayLamViec.Caption = "Năm 2010 và 2011";
     this.ngayLamViec.Default = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear;
     this.ngayLamViec.FirstFrom = new System.DateTime(2010, 1, 1, 0, 0, 0, 0);
     this.ngayLamViec.FirstTo = new System.DateTime(2011, 12, 31, 0, 0, 0, 0);
     this.ngayLamViec.FromDate = new System.DateTime(2010, 1, 1, 0, 0, 0, 0);
     this.ngayLamViec.Location = new System.Drawing.Point(356, 10);
     this.ngayLamViec.Name = "ngayLamViec";
     this.ngayLamViec.ReturnType = ProtocolVN.Framework.Win.Trial.TimeType.Date;
     this.ngayLamViec.SecondFrom = new System.DateTime(2010, 1, 1, 0, 0, 0, 0);
     this.ngayLamViec.SecondTo = new System.DateTime(2011, 12, 31, 0, 0, 0, 0);
     this.ngayLamViec.SelectedType = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear;
     this.ngayLamViec.Size = new System.Drawing.Size(225, 21);
     this.ngayLamViec.TabIndex = 1;
     this.ngayLamViec.ToDate = new System.DateTime(2011, 12, 31, 0, 0, 0, 0);
     this.ngayLamViec.Types = ((ProtocolVN.Framework.Win.Trial.SelectionTypes)(((((((((ProtocolVN.Framework.Win.Trial.SelectionTypes.OneDate | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneMonth)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneQuarter)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneYear)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.SixMonths)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromDateToDate)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromMonthToMonth)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromQuarterToQuarter)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear)));
     //
     // chkCus
     //
     this.chkCus.Location = new System.Drawing.Point(151, 37);
     this.chkCus.Name = "chkCus";
     this.chkCus.Properties.Caption = "Công tác ngoài";
     this.chkCus.Size = new System.Drawing.Size(106, 19);
     this.chkCus.TabIndex = 3;
     //
     // chkCompany
     //
     this.chkCompany.Location = new System.Drawing.Point(64, 37);
     this.chkCompany.MenuManager = this.barManager1;
     this.chkCompany.Name = "chkCompany";
     this.chkCompany.Properties.Caption = "Tại công ty";
     this.chkCompany.Size = new System.Drawing.Size(81, 19);
     this.chkCompany.TabIndex = 2;
     //
     // DuyetSelect
     //
     this.DuyetSelect.Location = new System.Drawing.Point(347, 38);
     this.DuyetSelect.Name = "DuyetSelect";
     this.DuyetSelect.Size = new System.Drawing.Size(216, 24);
     this.DuyetSelect.TabIndex = 4;
     //
     // plLabel6
     //
     this.plLabel6.Location = new System.Drawing.Point(284, 15);
     this.plLabel6.Name = "plLabel6";
     this.plLabel6.Size = new System.Drawing.Size(66, 13);
     this.plLabel6.TabIndex = 203;
     this.plLabel6.Text = "Ngày làm việc";
     this.plLabel6.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL;
     //
     // plLabel1
     //
     this.plLabel1.Location = new System.Drawing.Point(12, 15);
     this.plLabel1.Name = "plLabel1";
     this.plLabel1.Size = new System.Drawing.Size(48, 13);
     this.plLabel1.TabIndex = 202;
     this.plLabel1.Text = "Nhân viên";
     this.plLabel1.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL;
     //
     // plTreeSelectItem1
     //
     this.plTreeSelectItem1.Location = new System.Drawing.Point(605, -20);
     this.plTreeSelectItem1.Name = "plTreeSelectItem1";
     this.plTreeSelectItem1.Size = new System.Drawing.Size(167, 20);
     this.plTreeSelectItem1.TabIndex = 193;
     this.plTreeSelectItem1.ZZZWidthFactor = 2F;
     //
     // gridColumn8
     //
     this.gridColumn8.Caption = "VAT";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.Visible = true;
     this.gridColumn8.VisibleIndex = 5;
     //
     // gridColumn6
     //
     this.gridColumn6.Caption = "VAT";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 5;
     this.gridColumn6.Width = 96;
     //
     // NhanVien
     //
     this.NhanVien.Location = new System.Drawing.Point(66, 12);
     this.NhanVien.Name = "NhanVien";
     this.NhanVien.Size = new System.Drawing.Size(212, 20);
     this.NhanVien.TabIndex = 0;
     //
     // frmPhieuXacNhanLamViecQL
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(912, 497);
     this.Controls.Add(this.splitContainerControl1);
     this.Controls.Add(this.popupControlContainerFilter);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Name = "frmPhieuXacNhanLamViecQL";
     this.Text = "Xác nhận làm việc";
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).EndInit();
     this.xtraTabControlDetail.ResumeLayout(false);
     this.xtraTabPageDetail.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).EndInit();
     this.popupControlContainerFilter.ResumeLayout(false);
     this.popupControlContainerFilter.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chkCus.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkCompany.Properties)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #9
0
 /// <summary>
 ///CHAUTV : Phân quyền xem dữ liệu
 /// </summary>
 /// <param name="Input"></param>
 /// <param name="featureName"></param>
 private void ApplyPermissionData(PLDMTreeGroup Input, string featureName)
 {
     List<Feature> features = Permission.loadAllFeatureByUser(FrameworkParams.currentUser.username);
     bool IsFull = false;
     foreach (Feature f in features)
     {
         if ((f.featureName == featureName && f.isRead == true)|| FrameworkParams.currentUser.username.Equals("admin"))
         {
             IsFull = true;
             break;
         }
     }
     if (FrameworkParams.isPermision.getPublicForm().Contains(typeof(frmChamCongAutoQL).FullName)==false &&!IsFull)
     {
         Input._setSelectedID(FrameworkParams.currentUser.employee_id);
         Input.Enabled = false;
     }
 }
コード例 #10
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        protected void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmHomThuGopYQL));
            this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
            this.MainBar = new DevExpress.XtraBars.Bar();
            this.barButtonItemAdd = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItemXem = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItemDelete = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItemUpdate = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItemPrint = new DevExpress.XtraBars.BarButtonItem();
            this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components);
            this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItemCommit = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItemNoCommit = new DevExpress.XtraBars.BarButtonItem();
            this.barSubItem1 = new DevExpress.XtraBars.BarSubItem();
            this.barButtonItemSearch = new DevExpress.XtraBars.BarButtonItem();
            this.popupMenuFilter = new DevExpress.XtraBars.PopupMenu(this.components);
            this.barCheckItemFilter = new DevExpress.XtraBars.BarCheckItem();
            this.barButtonItemClose = new DevExpress.XtraBars.BarButtonItem();
            this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
            this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
            this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
            this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
            this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem();
            this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem();
            this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
            this.gridControlMaster = new DevExpress.XtraGrid.GridControl();
            this.gridViewMaster = new DevExpress.XtraGrid.Views.Grid.PLGridView();
            this.colMaster_ID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colMaster_NoiDung = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colMaster_NguoiGopY = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colMaster_NgayGhiNhan = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colMaster_NguoiNhan = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colMaster_TieuDe = new DevExpress.XtraGrid.Columns.GridColumn();
            this.xtraTabControlDetail = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPageDetail = new DevExpress.XtraTab.XtraTabPage();
            this.gridControlDetail = new DevExpress.XtraGrid.GridControl();
            this.gridViewDetail = new DevExpress.XtraGrid.Views.Grid.PLGridView();
            this.colDetail_ID = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colDetail_NguoiPhanHoi = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colDetail_NoiDung = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colDetail_ThoiGianGhiNhan = new DevExpress.XtraGrid.Columns.GridColumn();
            this.chkNguoiGopY = new DevExpress.XtraEditors.CheckEdit();
            this.popupControlContainerFilter = new DevExpress.XtraBars.PopupControlContainer(this.components);
            this.NguoiNhan = new ProtocolVN.App.Office.ApplicationCore.PLDMTreeMultiChoice();
            this.plLabel1 = new System.Windows.Forms.PLLabel();
            this.nguoiGui = new ProtocolVN.Framework.Win.PLDMTreeGroup();
            this.labelControl7 = new System.Windows.Forms.PLLabel();
            this.ngayKT = new ProtocolVN.Framework.Win.Office.PLDateSelection();
            this.labelControl1 = new System.Windows.Forms.PLLabel();
            this.plTreeSelectItem1 = new ProtocolVN.Framework.Win.PLDMTreeGroupElement();
            this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
            this.splitContainerControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).BeginInit();
            this.xtraTabControlDetail.SuspendLayout();
            this.xtraTabPageDetail.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkNguoiGopY.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).BeginInit();
            this.popupControlContainerFilter.SuspendLayout();
            this.SuspendLayout();
            //
            // barManager1
            //
            this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
            this.MainBar});
            this.barManager1.DockControls.Add(this.barDockControlTop);
            this.barManager1.DockControls.Add(this.barDockControlBottom);
            this.barManager1.DockControls.Add(this.barDockControlLeft);
            this.barManager1.DockControls.Add(this.barDockControlRight);
            this.barManager1.Form = this;
            this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
            this.barButtonItemAdd,
            this.barButtonItemDelete,
            this.barButtonItemUpdate,
            this.barButtonItemPrint,
            this.barStaticItem1,
            this.barButtonItem1,
            this.barButtonItem2,
            this.barButtonItemCommit,
            this.barButtonItemNoCommit,
            this.barSubItem1,
            this.barButtonItemXem,
            this.barButtonItemSearch,
            this.barButtonItemClose,
            this.barCheckItemFilter,
            this.barButtonItem3,
            this.barButtonItem4,
            this.barButtonItem5});
            this.barManager1.MaxItemId = 35;
            //
            // MainBar
            //
            this.MainBar.BarName = "MainBar";
            this.MainBar.DockCol = 0;
            this.MainBar.DockRow = 0;
            this.MainBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
            this.MainBar.FloatLocation = new System.Drawing.Point(39, 133);
            this.MainBar.FloatSize = new System.Drawing.Size(72, 73);
            this.MainBar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Caption, this.barButtonItemAdd, "&Thêm"),
            new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemXem),
            new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDelete),
            new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemUpdate),
            new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemPrint, true),
            new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemCommit, true),
            new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemNoCommit),
            new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem1, true),
            new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemSearch, true),
            new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemClose, true)});
            this.MainBar.OptionsBar.AllowQuickCustomization = false;
            this.MainBar.OptionsBar.DrawDragBorder = false;
            this.MainBar.OptionsBar.RotateWhenVertical = false;
            this.MainBar.OptionsBar.UseWholeRow = true;
            this.MainBar.Text = "Custom 1";
            //
            // barButtonItemAdd
            //
            this.barButtonItemAdd.Caption = "Thêm";
            this.barButtonItemAdd.Id = 0;
            this.barButtonItemAdd.Name = "barButtonItemAdd";
            this.barButtonItemAdd.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
            //
            // barButtonItemXem
            //
            this.barButtonItemXem.Caption = "X&em";
            this.barButtonItemXem.Id = 24;
            this.barButtonItemXem.Name = "barButtonItemXem";
            this.barButtonItemXem.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
            //
            // barButtonItemDelete
            //
            this.barButtonItemDelete.Caption = "&Xóa";
            this.barButtonItemDelete.Id = 1;
            this.barButtonItemDelete.Name = "barButtonItemDelete";
            this.barButtonItemDelete.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
            //
            // barButtonItemUpdate
            //
            this.barButtonItemUpdate.Caption = "&Sửa";
            this.barButtonItemUpdate.Id = 2;
            this.barButtonItemUpdate.Name = "barButtonItemUpdate";
            this.barButtonItemUpdate.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
            //
            // barButtonItemPrint
            //
            this.barButtonItemPrint.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
            this.barButtonItemPrint.Caption = "&In";
            this.barButtonItemPrint.DropDownControl = this.popupMenu1;
            this.barButtonItemPrint.Id = 3;
            this.barButtonItemPrint.Name = "barButtonItemPrint";
            this.barButtonItemPrint.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
            //
            // popupMenu1
            //
            this.popupMenu1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
            new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4)});
            this.popupMenu1.Manager = this.barManager1;
            this.popupMenu1.Name = "popupMenu1";
            //
            // barButtonItem4
            //
            this.barButtonItem4.Caption = "Xem t&rước";
            this.barButtonItem4.Id = 33;
            this.barButtonItem4.Name = "barButtonItem4";
            //
            // barButtonItemCommit
            //
            this.barButtonItemCommit.Caption = "&Duyệt";
            this.barButtonItemCommit.Id = 17;
            this.barButtonItemCommit.Name = "barButtonItemCommit";
            this.barButtonItemCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
            //
            // barButtonItemNoCommit
            //
            this.barButtonItemNoCommit.Caption = "&Không duyệt";
            this.barButtonItemNoCommit.Id = 18;
            this.barButtonItemNoCommit.Name = "barButtonItemNoCommit";
            this.barButtonItemNoCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
            //
            // barSubItem1
            //
            this.barSubItem1.Caption = "&Nghiệp vụ";
            this.barSubItem1.Id = 20;
            this.barSubItem1.Name = "barSubItem1";
            this.barSubItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
            //
            // barButtonItemSearch
            //
            this.barButtonItemSearch.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
            this.barButtonItemSearch.Caption = "Tì&m kiếm";
            this.barButtonItemSearch.DropDownControl = this.popupMenuFilter;
            this.barButtonItemSearch.Id = 27;
            this.barButtonItemSearch.Name = "barButtonItemSearch";
            this.barButtonItemSearch.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
            //
            // popupMenuFilter
            //
            this.popupMenuFilter.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
            new DevExpress.XtraBars.LinkPersistInfo(this.barCheckItemFilter)});
            this.popupMenuFilter.Manager = this.barManager1;
            this.popupMenuFilter.Name = "popupMenuFilter";
            //
            // barCheckItemFilter
            //
            this.barCheckItemFilter.Caption = "Điề&u kiện tìm kiếm";
            this.barCheckItemFilter.Checked = true;
            this.barCheckItemFilter.Id = 29;
            this.barCheckItemFilter.Name = "barCheckItemFilter";
            this.barCheckItemFilter.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
            //
            // barButtonItemClose
            //
            this.barButtonItemClose.Caption = "Đón&g";
            this.barButtonItemClose.Id = 28;
            this.barButtonItemClose.Name = "barButtonItemClose";
            this.barButtonItemClose.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
            //
            // barDockControlTop
            //
            this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
            this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
            this.barDockControlTop.Size = new System.Drawing.Size(973, 24);
            //
            // barDockControlBottom
            //
            this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.barDockControlBottom.Location = new System.Drawing.Point(0, 497);
            this.barDockControlBottom.Size = new System.Drawing.Size(973, 0);
            //
            // barDockControlLeft
            //
            this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
            this.barDockControlLeft.Location = new System.Drawing.Point(0, 24);
            this.barDockControlLeft.Size = new System.Drawing.Size(0, 473);
            //
            // barDockControlRight
            //
            this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
            this.barDockControlRight.Location = new System.Drawing.Point(973, 24);
            this.barDockControlRight.Size = new System.Drawing.Size(0, 473);
            //
            // barStaticItem1
            //
            this.barStaticItem1.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None;
            this.barStaticItem1.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
            this.barStaticItem1.Id = 13;
            this.barStaticItem1.Name = "barStaticItem1";
            this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near;
            this.barStaticItem1.Width = 100;
            //
            // barButtonItem1
            //
            this.barButtonItem1.Caption = "barButtonItem1";
            this.barButtonItem1.Id = 14;
            this.barButtonItem1.Name = "barButtonItem1";
            //
            // barButtonItem2
            //
            this.barButtonItem2.Caption = "barButtonItem2";
            this.barButtonItem2.Id = 15;
            this.barButtonItem2.Name = "barButtonItem2";
            //
            // barButtonItem3
            //
            this.barButtonItem3.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
            this.barButtonItem3.Caption = "In";
            this.barButtonItem3.Id = 30;
            this.barButtonItem3.Name = "barButtonItem3";
            //
            // barButtonItem5
            //
            this.barButtonItem5.Caption = "barButtonItem5";
            this.barButtonItem5.Id = 34;
            this.barButtonItem5.Name = "barButtonItem5";
            //
            // splitContainerControl1
            //
            this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainerControl1.Horizontal = false;
            this.splitContainerControl1.Location = new System.Drawing.Point(0, 86);
            this.splitContainerControl1.Name = "splitContainerControl1";
            this.splitContainerControl1.Panel1.Controls.Add(this.gridControlMaster);
            this.splitContainerControl1.Panel1.Text = "splitContainerControl1_Panel1";
            this.splitContainerControl1.Panel2.CaptionLocation = DevExpress.Utils.Locations.Left;
            this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControlDetail);
            this.splitContainerControl1.Panel2.ShowCaption = true;
            this.splitContainerControl1.Panel2.Text = "splitContainerControl1_Panel2";
            this.splitContainerControl1.Size = new System.Drawing.Size(973, 411);
            this.splitContainerControl1.SplitterPosition = 175;
            this.splitContainerControl1.TabIndex = 4;
            this.splitContainerControl1.Text = "splitContainerControl1";
            //
            // gridControlMaster
            //
            this.gridControlMaster.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlMaster.BackgroundImage")));
            this.gridControlMaster.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.gridControlMaster.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridControlMaster.Location = new System.Drawing.Point(0, 0);
            this.gridControlMaster.MainView = this.gridViewMaster;
            this.gridControlMaster.Name = "gridControlMaster";
            this.gridControlMaster.Size = new System.Drawing.Size(973, 175);
            this.gridControlMaster.TabIndex = 7;
            this.gridControlMaster.TabStop = false;
            this.gridControlMaster.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridViewMaster});
            //
            // gridViewMaster
            //
            this.gridViewMaster.Appearance.GroupPanel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Inch);
            this.gridViewMaster.Appearance.GroupPanel.Options.UseFont = true;
            this.gridViewMaster.Appearance.HeaderPanel.Options.UseTextOptions = true;
            this.gridViewMaster.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.gridViewMaster.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colMaster_ID,
            this.colMaster_NoiDung,
            this.colMaster_NguoiGopY,
            this.colMaster_NgayGhiNhan,
            this.colMaster_NguoiNhan,
            this.colMaster_TieuDe});
            this.gridViewMaster.GridControl = this.gridControlMaster;
            this.gridViewMaster.GroupPanelText = "DANH SÁCH GÓP Ý";
            this.gridViewMaster.IndicatorWidth = 40;
            this.gridViewMaster.Name = "gridViewMaster";
            this.gridViewMaster.OptionsLayout.Columns.AddNewColumns = false;
            this.gridViewMaster.OptionsNavigation.AutoFocusNewRow = true;
            this.gridViewMaster.OptionsNavigation.EnterMoveNextColumn = true;
            this.gridViewMaster.OptionsPrint.UsePrintStyles = true;
            this.gridViewMaster.OptionsSelection.MultiSelect = true;
            this.gridViewMaster.OptionsView.EnableAppearanceEvenRow = true;
            this.gridViewMaster.OptionsView.EnableAppearanceOddRow = true;
            this.gridViewMaster.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
            this.gridViewMaster.OptionsView.RowAutoHeight = true;
            this.gridViewMaster.OptionsView.ShowGroupedColumns = true;
            //
            // colMaster_ID
            //
            this.colMaster_ID.Caption = "ID";
            this.colMaster_ID.Name = "colMaster_ID";
            this.colMaster_ID.Width = 23;
            //
            // colMaster_NoiDung
            //
            this.colMaster_NoiDung.Caption = "Nội dung";
            this.colMaster_NoiDung.Name = "colMaster_NoiDung";
            this.colMaster_NoiDung.OptionsColumn.ReadOnly = true;
            this.colMaster_NoiDung.Visible = true;
            this.colMaster_NoiDung.VisibleIndex = 1;
            this.colMaster_NoiDung.Width = 54;
            //
            // colMaster_NguoiGopY
            //
            this.colMaster_NguoiGopY.Caption = "Người gửi";
            this.colMaster_NguoiGopY.Name = "colMaster_NguoiGopY";
            this.colMaster_NguoiGopY.OptionsColumn.AllowEdit = false;
            this.colMaster_NguoiGopY.OptionsColumn.AllowFocus = false;
            this.colMaster_NguoiGopY.OptionsColumn.ReadOnly = true;
            this.colMaster_NguoiGopY.Visible = true;
            this.colMaster_NguoiGopY.VisibleIndex = 2;
            this.colMaster_NguoiGopY.Width = 58;
            //
            // colMaster_NgayGhiNhan
            //
            this.colMaster_NgayGhiNhan.Caption = "Thời gian góp ý";
            this.colMaster_NgayGhiNhan.Name = "colMaster_NgayGhiNhan";
            this.colMaster_NgayGhiNhan.OptionsColumn.AllowEdit = false;
            this.colMaster_NgayGhiNhan.OptionsColumn.AllowFocus = false;
            this.colMaster_NgayGhiNhan.OptionsColumn.ReadOnly = true;
            this.colMaster_NgayGhiNhan.Visible = true;
            this.colMaster_NgayGhiNhan.VisibleIndex = 4;
            this.colMaster_NgayGhiNhan.Width = 85;
            //
            // colMaster_NguoiNhan
            //
            this.colMaster_NguoiNhan.Caption = "Người nhận";
            this.colMaster_NguoiNhan.Name = "colMaster_NguoiNhan";
            this.colMaster_NguoiNhan.Visible = true;
            this.colMaster_NguoiNhan.VisibleIndex = 3;
            this.colMaster_NguoiNhan.Width = 67;
            this.colMaster_NguoiNhan.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;

            //
            // colMaster_TieuDe
            //
            this.colMaster_TieuDe.Caption = "Vấn đề góp ý";
            this.colMaster_TieuDe.Name = "colMaster_TieuDe";
            this.colMaster_TieuDe.OptionsColumn.AllowEdit = false;
            this.colMaster_TieuDe.OptionsColumn.AllowFocus = false;
            this.colMaster_TieuDe.OptionsColumn.ReadOnly = true;
            this.colMaster_TieuDe.Visible = true;
            this.colMaster_TieuDe.VisibleIndex = 0;
            //
            // xtraTabControlDetail
            //
            this.xtraTabControlDetail.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraTabControlDetail.Location = new System.Drawing.Point(0, 0);
            this.xtraTabControlDetail.Name = "xtraTabControlDetail";
            this.xtraTabControlDetail.SelectedTabPage = this.xtraTabPageDetail;
            this.xtraTabControlDetail.Size = new System.Drawing.Size(973, 230);
            this.xtraTabControlDetail.TabIndex = 0;
            this.xtraTabControlDetail.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPageDetail});
            this.xtraTabControlDetail.TabStop = false;
            //
            // xtraTabPageDetail
            //
            this.xtraTabPageDetail.Controls.Add(this.gridControlDetail);
            this.xtraTabPageDetail.Name = "xtraTabPageDetail";
            this.xtraTabPageDetail.Size = new System.Drawing.Size(966, 201);
            this.xtraTabPageDetail.Text = "Danh sách phản hồi";
            //
            // gridControlDetail
            //
            this.gridControlDetail.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlDetail.BackgroundImage")));
            this.gridControlDetail.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.gridControlDetail.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridControlDetail.Location = new System.Drawing.Point(0, 0);
            this.gridControlDetail.MainView = this.gridViewDetail;
            this.gridControlDetail.Name = "gridControlDetail";
            this.gridControlDetail.Size = new System.Drawing.Size(966, 201);
            this.gridControlDetail.TabIndex = 113;
            this.gridControlDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridViewDetail});
            //
            // gridViewDetail
            //
            this.gridViewDetail.Appearance.HeaderPanel.Options.UseTextOptions = true;
            this.gridViewDetail.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.gridViewDetail.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colDetail_ID,
            this.colDetail_NguoiPhanHoi,
            this.colDetail_NoiDung,
            this.colDetail_ThoiGianGhiNhan});
            this.gridViewDetail.GridControl = this.gridControlDetail;
            this.gridViewDetail.GroupPanelText = "Danh sách phản hồi";
            this.gridViewDetail.IndicatorWidth = 40;
            this.gridViewDetail.Name = "gridViewDetail";
            this.gridViewDetail.OptionsBehavior.AutoExpandAllGroups = true;
            this.gridViewDetail.OptionsLayout.Columns.AddNewColumns = false;
            this.gridViewDetail.OptionsNavigation.AutoFocusNewRow = true;
            this.gridViewDetail.OptionsNavigation.EnterMoveNextColumn = true;
            this.gridViewDetail.OptionsPrint.UsePrintStyles = true;
            this.gridViewDetail.OptionsView.EnableAppearanceEvenRow = true;
            this.gridViewDetail.OptionsView.EnableAppearanceOddRow = true;
            this.gridViewDetail.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
            this.gridViewDetail.OptionsView.ShowFooter = true;
            this.gridViewDetail.OptionsView.ShowGroupedColumns = true;
            this.gridViewDetail.OptionsView.ShowGroupPanel = false;
            //
            // colDetail_ID
            //
            this.colDetail_ID.Caption = "ID";
            this.colDetail_ID.Name = "colDetail_ID";
            this.colDetail_ID.Width = 23;
            //
            // colDetail_NguoiPhanHoi
            //
            this.colDetail_NguoiPhanHoi.Caption = "Người phản hồi";
            this.colDetail_NguoiPhanHoi.Name = "colDetail_NguoiPhanHoi";
            this.colDetail_NguoiPhanHoi.OptionsColumn.AllowEdit = false;
            this.colDetail_NguoiPhanHoi.OptionsColumn.AllowFocus = false;
            this.colDetail_NguoiPhanHoi.OptionsColumn.ReadOnly = true;
            this.colDetail_NguoiPhanHoi.Visible = true;
            this.colDetail_NguoiPhanHoi.VisibleIndex = 0;
            this.colDetail_NguoiPhanHoi.Width = 84;
            //
            // colDetail_NoiDung
            //
            this.colDetail_NoiDung.Caption = "Nội dung";
            this.colDetail_NoiDung.Name = "colDetail_NoiDung";
            this.colDetail_NoiDung.OptionsColumn.ReadOnly = true;
            this.colDetail_NoiDung.Visible = true;
            this.colDetail_NoiDung.VisibleIndex = 1;
            this.colDetail_NoiDung.Width = 54;
            //
            // colDetail_ThoiGianGhiNhan
            //
            this.colDetail_ThoiGianGhiNhan.Caption = "Thời gian ghi nhận";
            this.colDetail_ThoiGianGhiNhan.Name = "colDetail_ThoiGianGhiNhan";
            this.colDetail_ThoiGianGhiNhan.OptionsColumn.AllowEdit = false;
            this.colDetail_ThoiGianGhiNhan.OptionsColumn.AllowFocus = false;
            this.colDetail_ThoiGianGhiNhan.OptionsColumn.ReadOnly = true;
            this.colDetail_ThoiGianGhiNhan.Visible = true;
            this.colDetail_ThoiGianGhiNhan.VisibleIndex = 2;
            this.colDetail_ThoiGianGhiNhan.Width = 99;
            //
            // chkNguoiGopY
            //
            this.chkNguoiGopY.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.chkNguoiGopY.Location = new System.Drawing.Point(849, 6);
            this.chkNguoiGopY.MenuManager = this.barManager1;
            this.chkNguoiGopY.Name = "chkNguoiGopY";
            this.chkNguoiGopY.Properties.Caption = "Hiện người gửi";
            this.chkNguoiGopY.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Default;
            this.chkNguoiGopY.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.chkNguoiGopY.Size = new System.Drawing.Size(121, 19);
            this.chkNguoiGopY.TabIndex = 3;
            //
            // popupControlContainerFilter
            //
            this.popupControlContainerFilter.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
            this.popupControlContainerFilter.Controls.Add(this.NguoiNhan);
            this.popupControlContainerFilter.Controls.Add(this.plLabel1);
            this.popupControlContainerFilter.Controls.Add(this.nguoiGui);
            this.popupControlContainerFilter.Controls.Add(this.labelControl7);
            this.popupControlContainerFilter.Controls.Add(this.chkNguoiGopY);
            this.popupControlContainerFilter.Controls.Add(this.ngayKT);
            this.popupControlContainerFilter.Controls.Add(this.labelControl1);
            this.popupControlContainerFilter.Controls.Add(this.plTreeSelectItem1);
            this.popupControlContainerFilter.Dock = System.Windows.Forms.DockStyle.Top;
            this.popupControlContainerFilter.Location = new System.Drawing.Point(0, 24);
            this.popupControlContainerFilter.Manager = this.barManager1;
            this.popupControlContainerFilter.Name = "popupControlContainerFilter";
            this.popupControlContainerFilter.Size = new System.Drawing.Size(973, 62);
            this.popupControlContainerFilter.TabIndex = 0;
            this.popupControlContainerFilter.Visible = false;
            //
            // NguoiNhan
            //
            this.NguoiNhan.Location = new System.Drawing.Point(91, 32);
            this.NguoiNhan.Name = "NguoiNhan";
            this.NguoiNhan.Size = new System.Drawing.Size(162, 20);
            this.NguoiNhan.TabIndex = 1;
            //
            // plLabel1
            //
            this.plLabel1.Location = new System.Drawing.Point(12, 35);
            this.plLabel1.Name = "plLabel1";
            this.plLabel1.Size = new System.Drawing.Size(55, 13);
            this.plLabel1.TabIndex = 201;
            this.plLabel1.Text = "Người nhận";
            this.plLabel1.ToolTip = "Dữ liệu bắt buộc nhập";
            this.plLabel1.ZZZType = System.Windows.Forms.PLLabel.LabelType.REQUIRED;
            //
            // nguoiGui
            //
            this.nguoiGui.Location = new System.Drawing.Point(91, 5);
            this.nguoiGui.Name = "nguoiGui";
            this.nguoiGui.Size = new System.Drawing.Size(162, 20);
            this.nguoiGui.TabIndex = 0;
            //
            // labelControl7
            //
            this.labelControl7.Location = new System.Drawing.Point(12, 9);
            this.labelControl7.Name = "labelControl7";
            this.labelControl7.Size = new System.Drawing.Size(46, 13);
            this.labelControl7.TabIndex = 200;
            this.labelControl7.Text = "Người gửi";
            this.labelControl7.ToolTip = "Dữ liệu bắt buộc nhập";
            this.labelControl7.ZZZType = System.Windows.Forms.PLLabel.LabelType.REQUIRED;
            //
            // ngayKT
            //
            this.ngayKT.Caption = "Năm 2010 và 2011";
            this.ngayKT.Default = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromMonthToMonth;
            this.ngayKT.FirstFrom = new System.DateTime(2010, 1, 1, 0, 0, 0, 0);
            this.ngayKT.FirstTo = new System.DateTime(2011, 12, 31, 0, 0, 0, 0);
            this.ngayKT.FromDate = new System.DateTime(2010, 1, 1, 0, 0, 0, 0);
            this.ngayKT.Location = new System.Drawing.Point(363, 31);
            this.ngayKT.Name = "ngayKT";
            this.ngayKT.ReturnType = ProtocolVN.Framework.Win.Trial.TimeType.Date;
            this.ngayKT.SecondFrom = new System.DateTime(2010, 1, 1, 0, 0, 0, 0);
            this.ngayKT.SecondTo = new System.DateTime(2011, 12, 31, 0, 0, 0, 0);
            this.ngayKT.SelectedType = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear;
            this.ngayKT.Size = new System.Drawing.Size(226, 21);
            this.ngayKT.TabIndex = 2;
            this.ngayKT.ToDate = new System.DateTime(2011, 12, 31, 0, 0, 0, 0);
            this.ngayKT.Types = ((ProtocolVN.Framework.Win.Trial.SelectionTypes)(((((((((ProtocolVN.Framework.Win.Trial.SelectionTypes.OneDate | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneMonth)
                        | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneQuarter)
                        | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneYear)
                        | ProtocolVN.Framework.Win.Trial.SelectionTypes.SixMonths)
                        | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromDateToDate)
                        | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromMonthToMonth)
                        | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromQuarterToQuarter)
                        | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear)));
            //
            // labelControl1
            //
            this.labelControl1.Location = new System.Drawing.Point(284, 35);
            this.labelControl1.Name = "labelControl1";
            this.labelControl1.Size = new System.Drawing.Size(73, 13);
            this.labelControl1.TabIndex = 198;
            this.labelControl1.Text = "Thời gian góp ý";
            this.labelControl1.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL;
            //
            // plTreeSelectItem1
            //
            this.plTreeSelectItem1.Location = new System.Drawing.Point(605, -20);
            this.plTreeSelectItem1.Name = "plTreeSelectItem1";
            this.plTreeSelectItem1.Size = new System.Drawing.Size(167, 20);
            this.plTreeSelectItem1.TabIndex = 193;
            this.plTreeSelectItem1.ZZZWidthFactor = 2F;
            //
            // gridColumn8
            //
            this.gridColumn8.Caption = "VAT";
            this.gridColumn8.Name = "gridColumn8";
            this.gridColumn8.Visible = true;
            this.gridColumn8.VisibleIndex = 5;
            //
            // gridColumn6
            //
            this.gridColumn6.Caption = "VAT";
            this.gridColumn6.Name = "gridColumn6";
            this.gridColumn6.Visible = true;
            this.gridColumn6.VisibleIndex = 5;
            this.gridColumn6.Width = 96;
            //
            // frmHomThuGopYQL
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(973, 497);
            this.Controls.Add(this.splitContainerControl1);
            this.Controls.Add(this.popupControlContainerFilter);
            this.Controls.Add(this.barDockControlLeft);
            this.Controls.Add(this.barDockControlRight);
            this.Controls.Add(this.barDockControlBottom);
            this.Controls.Add(this.barDockControlTop);
            this.Name = "frmHomThuGopYQL";
            this.Text = "Hòm thư góp ý";
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
            this.splitContainerControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).EndInit();
            this.xtraTabControlDetail.ResumeLayout(false);
            this.xtraTabPageDetail.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkNguoiGopY.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).EndInit();
            this.popupControlContainerFilter.ResumeLayout(false);
            this.popupControlContainerFilter.PerformLayout();
            this.ResumeLayout(false);
        }
コード例 #11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 protected void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmTimeInOutQL));
     this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
     this.MainBar = new DevExpress.XtraBars.Bar();
     this.barButtonItemAdd = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemXem = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemDelete = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemUpdate = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemPrint = new DevExpress.XtraBars.BarButtonItem();
     this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components);
     this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemDuyet = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemK_Duyet = new DevExpress.XtraBars.BarButtonItem();
     this.barSubItem1 = new DevExpress.XtraBars.BarSubItem();
     this.barButtonItemSearch = new DevExpress.XtraBars.BarButtonItem();
     this.popupMenuFilter = new DevExpress.XtraBars.PopupMenu(this.components);
     this.barCheckItemFilter = new DevExpress.XtraBars.BarCheckItem();
     this.barButtonItemClose = new DevExpress.XtraBars.BarButtonItem();
     this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
     this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem();
     this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemCommit = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItemNoCommit = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
     this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
     this.gridControlMaster = new DevExpress.XtraGrid.GridControl();
     this.gridViewMaster = new DevExpress.XtraGrid.Views.Grid.PLGridView();
     this.ID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_NVID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_TenNV = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_NgayLamViec = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_GioBatDau = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_GioKetThuc = new DevExpress.XtraGrid.Columns.GridColumn();
     this.CotTG_LV = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_Cham_Cong = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_N_Bs = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_N_BC = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_NP_Nam = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_NP_KL = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Cot_Noi_Dung = new DevExpress.XtraGrid.Columns.GridColumn();
     this.CotLoai = new DevExpress.XtraGrid.Columns.GridColumn();
     this.CotIP_Address = new DevExpress.XtraGrid.Columns.GridColumn();
     this.CotLoaiDT_VS = new DevExpress.XtraGrid.Columns.GridColumn();
     this.xtraTabControlDetail = new DevExpress.XtraTab.XtraTabControl();
     this.xtraTabPageDetail = new DevExpress.XtraTab.XtraTabPage();
     this.gridControlDetail = new DevExpress.XtraGrid.GridControl();
     this.gridViewDetail = new DevExpress.XtraGrid.Views.Grid.PLGridView();
     this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
     this.repositoryItemImageComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox();
     this.chkIPMay = new DevExpress.XtraEditors.CheckEdit();
     this.chkChamCong = new DevExpress.XtraEditors.CheckEdit();
     this.popupControlContainerFilter = new DevExpress.XtraBars.PopupControlContainer(this.components);
     this.NhanVien = new ProtocolVN.Framework.Win.PLDMTreeGroup();
     this.chkBinhThuong = new DevExpress.XtraEditors.CheckEdit();
     this.ngayLamViec = new ProtocolVN.Framework.Win.Office.PLDateSelection();
     this.chkVe_som = new DevExpress.XtraEditors.CheckEdit();
     this.chkDi_tre = new DevExpress.XtraEditors.CheckEdit();
     this.chkDaChamCong = new DevExpress.XtraEditors.CheckEdit();
     this.chkChuaChamCong = new DevExpress.XtraEditors.CheckEdit();
     this.plLabel1 = new System.Windows.Forms.PLLabel();
     this.label1 = new System.Windows.Forms.PLLabel();
     this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).BeginInit();
     this.xtraTabControlDetail.SuspendLayout();
     this.xtraTabPageDetail.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkIPMay.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkChamCong.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).BeginInit();
     this.popupControlContainerFilter.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chkBinhThuong.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkVe_som.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkDi_tre.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkDaChamCong.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkChuaChamCong.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // barManager1
     //
     this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
     this.MainBar});
     this.barManager1.DockControls.Add(this.barDockControlTop);
     this.barManager1.DockControls.Add(this.barDockControlBottom);
     this.barManager1.DockControls.Add(this.barDockControlLeft);
     this.barManager1.DockControls.Add(this.barDockControlRight);
     this.barManager1.Form = this;
     this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.barButtonItemAdd,
     this.barButtonItemDelete,
     this.barButtonItemUpdate,
     this.barButtonItemPrint,
     this.barStaticItem1,
     this.barButtonItem1,
     this.barButtonItem2,
     this.barButtonItemCommit,
     this.barButtonItemNoCommit,
     this.barSubItem1,
     this.barButtonItemXem,
     this.barButtonItemSearch,
     this.barButtonItemClose,
     this.barCheckItemFilter,
     this.barButtonItem3,
     this.barButtonItem4,
     this.barButtonItemDuyet,
     this.barButtonItemK_Duyet});
     this.barManager1.MaxItemId = 37;
     //
     // MainBar
     //
     this.MainBar.BarName = "MainBar";
     this.MainBar.DockCol = 0;
     this.MainBar.DockRow = 0;
     this.MainBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.MainBar.FloatLocation = new System.Drawing.Point(39, 133);
     this.MainBar.FloatSize = new System.Drawing.Size(72, 73);
     this.MainBar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Caption, this.barButtonItemAdd, "&Thêm"),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemXem),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDelete),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemUpdate),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemPrint, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDuyet, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemK_Duyet),
     new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem1),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemSearch, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemClose, true)});
     this.MainBar.OptionsBar.AllowQuickCustomization = false;
     this.MainBar.OptionsBar.DrawDragBorder = false;
     this.MainBar.OptionsBar.RotateWhenVertical = false;
     this.MainBar.OptionsBar.UseWholeRow = true;
     this.MainBar.Text = "Custom 1";
     //
     // barButtonItemAdd
     //
     this.barButtonItemAdd.Caption = "Thêm";
     this.barButtonItemAdd.Id = 0;
     this.barButtonItemAdd.Name = "barButtonItemAdd";
     this.barButtonItemAdd.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemXem
     //
     this.barButtonItemXem.Caption = "X&em";
     this.barButtonItemXem.Id = 24;
     this.barButtonItemXem.Name = "barButtonItemXem";
     this.barButtonItemXem.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemDelete
     //
     this.barButtonItemDelete.Caption = "&Xóa";
     this.barButtonItemDelete.Id = 1;
     this.barButtonItemDelete.Name = "barButtonItemDelete";
     this.barButtonItemDelete.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemUpdate
     //
     this.barButtonItemUpdate.Caption = "&Sửa";
     this.barButtonItemUpdate.Id = 2;
     this.barButtonItemUpdate.Name = "barButtonItemUpdate";
     this.barButtonItemUpdate.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemPrint
     //
     this.barButtonItemPrint.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.barButtonItemPrint.Caption = "&In";
     this.barButtonItemPrint.DropDownControl = this.popupMenu1;
     this.barButtonItemPrint.Id = 3;
     this.barButtonItemPrint.Name = "barButtonItemPrint";
     this.barButtonItemPrint.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // popupMenu1
     //
     this.popupMenu1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4)});
     this.popupMenu1.Manager = this.barManager1;
     this.popupMenu1.Name = "popupMenu1";
     //
     // barButtonItem4
     //
     this.barButtonItem4.Caption = "Xem t&rước";
     this.barButtonItem4.Id = 33;
     this.barButtonItem4.Name = "barButtonItem4";
     //
     // barButtonItemDuyet
     //
     this.barButtonItemDuyet.Caption = "&Duyệt";
     this.barButtonItemDuyet.Id = 35;
     this.barButtonItemDuyet.Name = "barButtonItemDuyet";
     //
     // barButtonItemK_Duyet
     //
     this.barButtonItemK_Duyet.Caption = "&Không duyệt";
     this.barButtonItemK_Duyet.Id = 36;
     this.barButtonItemK_Duyet.Name = "barButtonItemK_Duyet";
     //
     // barSubItem1
     //
     this.barSubItem1.Caption = "&Nghiệp vụ";
     this.barSubItem1.Id = 20;
     this.barSubItem1.Name = "barSubItem1";
     this.barSubItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemSearch
     //
     this.barButtonItemSearch.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.barButtonItemSearch.Caption = "Tì&m kiếm";
     this.barButtonItemSearch.DropDownControl = this.popupMenuFilter;
     this.barButtonItemSearch.Id = 27;
     this.barButtonItemSearch.Name = "barButtonItemSearch";
     this.barButtonItemSearch.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // popupMenuFilter
     //
     this.popupMenuFilter.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.barCheckItemFilter)});
     this.popupMenuFilter.Manager = this.barManager1;
     this.popupMenuFilter.Name = "popupMenuFilter";
     //
     // barCheckItemFilter
     //
     this.barCheckItemFilter.Caption = "Điề&u kiện tìm kiếm";
     this.barCheckItemFilter.Checked = true;
     this.barCheckItemFilter.Id = 29;
     this.barCheckItemFilter.Name = "barCheckItemFilter";
     this.barCheckItemFilter.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemClose
     //
     this.barButtonItemClose.Caption = "Đón&g";
     this.barButtonItemClose.Id = 28;
     this.barButtonItemClose.Name = "barButtonItemClose";
     this.barButtonItemClose.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barDockControlTop
     //
     this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Size = new System.Drawing.Size(1013, 24);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location = new System.Drawing.Point(0, 497);
     this.barDockControlBottom.Size = new System.Drawing.Size(1013, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location = new System.Drawing.Point(0, 24);
     this.barDockControlLeft.Size = new System.Drawing.Size(0, 473);
     //
     // barDockControlRight
     //
     this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location = new System.Drawing.Point(1013, 24);
     this.barDockControlRight.Size = new System.Drawing.Size(0, 473);
     //
     // barStaticItem1
     //
     this.barStaticItem1.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None;
     this.barStaticItem1.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.barStaticItem1.Id = 13;
     this.barStaticItem1.Name = "barStaticItem1";
     this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near;
     this.barStaticItem1.Width = 100;
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption = "barButtonItem1";
     this.barButtonItem1.Id = 14;
     this.barButtonItem1.Name = "barButtonItem1";
     //
     // barButtonItem2
     //
     this.barButtonItem2.Caption = "barButtonItem2";
     this.barButtonItem2.Id = 15;
     this.barButtonItem2.Name = "barButtonItem2";
     //
     // barButtonItemCommit
     //
     this.barButtonItemCommit.Caption = "&Duyệt";
     this.barButtonItemCommit.Id = 17;
     this.barButtonItemCommit.Name = "barButtonItemCommit";
     this.barButtonItemCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItemNoCommit
     //
     this.barButtonItemNoCommit.Caption = "&Không duyệt";
     this.barButtonItemNoCommit.Id = 18;
     this.barButtonItemNoCommit.Name = "barButtonItemNoCommit";
     this.barButtonItemNoCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // barButtonItem3
     //
     this.barButtonItem3.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.barButtonItem3.Caption = "In";
     this.barButtonItem3.Id = 30;
     this.barButtonItem3.Name = "barButtonItem3";
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl1.Horizontal = false;
     this.splitContainerControl1.Location = new System.Drawing.Point(0, 85);
     this.splitContainerControl1.Name = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Controls.Add(this.gridControlMaster);
     this.splitContainerControl1.Panel1.Text = "splitContainerControl1_Panel1";
     this.splitContainerControl1.Panel2.CaptionLocation = DevExpress.Utils.Locations.Left;
     this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControlDetail);
     this.splitContainerControl1.Panel2.ShowCaption = true;
     this.splitContainerControl1.Panel2.Text = "splitContainerControl1_Panel2";
     this.splitContainerControl1.Size = new System.Drawing.Size(1013, 412);
     this.splitContainerControl1.SplitterPosition = 196;
     this.splitContainerControl1.TabIndex = 4;
     this.splitContainerControl1.Text = "splitContainerControl1";
     //
     // gridControlMaster
     //
     this.gridControlMaster.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlMaster.BackgroundImage")));
     this.gridControlMaster.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.gridControlMaster.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMaster.Location = new System.Drawing.Point(0, 0);
     this.gridControlMaster.MainView = this.gridViewMaster;
     this.gridControlMaster.Name = "gridControlMaster";
     this.gridControlMaster.Size = new System.Drawing.Size(1013, 196);
     this.gridControlMaster.TabIndex = 0;
     this.gridControlMaster.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMaster});
     //
     // gridViewMaster
     //
     this.gridViewMaster.Appearance.GroupPanel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Inch);
     this.gridViewMaster.Appearance.GroupPanel.Options.UseFont = true;
     this.gridViewMaster.Appearance.HeaderPanel.Options.UseTextOptions = true;
     this.gridViewMaster.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridViewMaster.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.ID,
     this.Cot_NVID,
     this.Cot_TenNV,
     this.Cot_NgayLamViec,
     this.Cot_GioBatDau,
     this.Cot_GioKetThuc,
     this.CotTG_LV,
     this.Cot_Cham_Cong,
     this.Cot_N_Bs,
     this.Cot_N_BC,
     this.Cot_NP_Nam,
     this.Cot_NP_KL,
     this.Cot_Noi_Dung,
     this.CotLoai,
     this.CotIP_Address,
     this.CotLoaiDT_VS});
     this.gridViewMaster.GridControl = this.gridControlMaster;
     this.gridViewMaster.GroupCount = 2;
     this.gridViewMaster.GroupPanelText = "TỔNG HỢP THỜI GIAN LÀM VIỆC";
     this.gridViewMaster.IndicatorWidth = 40;
     this.gridViewMaster.Name = "gridViewMaster";
     this.gridViewMaster.NewItemRowText = "Nhập dữ liệu mới tại đây";
     this.gridViewMaster.OptionsFilter.UseNewCustomFilterDialog = true;
     this.gridViewMaster.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewMaster.OptionsNavigation.AutoFocusNewRow = true;
     this.gridViewMaster.OptionsNavigation.EnterMoveNextColumn = true;
     this.gridViewMaster.OptionsPrint.UsePrintStyles = true;
     this.gridViewMaster.OptionsSelection.MultiSelect = true;
     this.gridViewMaster.OptionsView.ColumnAutoWidth = false;
     this.gridViewMaster.OptionsView.EnableAppearanceEvenRow = true;
     this.gridViewMaster.OptionsView.EnableAppearanceOddRow = true;
     this.gridViewMaster.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
     this.gridViewMaster.OptionsView.ShowFooter = true;
     this.gridViewMaster.OptionsView.ShowGroupedColumns = true;
     this.gridViewMaster.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.Cot_NgayLamViec, DevExpress.Data.ColumnSortOrder.Descending),
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.Cot_TenNV, DevExpress.Data.ColumnSortOrder.Ascending)});
     //
     // ID
     //
     this.ID.Caption = "ID";
     this.ID.Name = "ID";
     this.ID.Width = 23;
     //
     // Cot_NVID
     //
     this.Cot_NVID.Caption = "NV_ID";
     this.Cot_NVID.Name = "Cot_NVID";
     this.Cot_NVID.Width = 42;
     //
     // Cot_TenNV
     //
     this.Cot_TenNV.Caption = "Nhân viên";
     this.Cot_TenNV.Name = "Cot_TenNV";
     this.Cot_TenNV.Visible = true;
     this.Cot_TenNV.VisibleIndex = 0;
     this.Cot_TenNV.Width = 73;
     //
     // Cot_NgayLamViec
     //
     this.Cot_NgayLamViec.Caption = "Ngày làm việc";
     this.Cot_NgayLamViec.Name = "Cot_NgayLamViec";
     this.Cot_NgayLamViec.Visible = true;
     this.Cot_NgayLamViec.VisibleIndex = 1;
     this.Cot_NgayLamViec.Width = 91;
     //
     // Cot_GioBatDau
     //
     this.Cot_GioBatDau.Caption = "Từ (hh:mm:ss)";
     this.Cot_GioBatDau.Name = "Cot_GioBatDau";
     this.Cot_GioBatDau.Visible = true;
     this.Cot_GioBatDau.VisibleIndex = 2;
     this.Cot_GioBatDau.Width = 82;
     //
     // Cot_GioKetThuc
     //
     this.Cot_GioKetThuc.Caption = "Đến (hh:mm:ss)";
     this.Cot_GioKetThuc.Name = "Cot_GioKetThuc";
     this.Cot_GioKetThuc.Visible = true;
     this.Cot_GioKetThuc.VisibleIndex = 3;
     this.Cot_GioKetThuc.Width = 89;
     //
     // CotTG_LV
     //
     this.CotTG_LV.Caption = "Thời gian làm việc (hh:mm)";
     this.CotTG_LV.Name = "CotTG_LV";
     this.CotTG_LV.Visible = true;
     this.CotTG_LV.VisibleIndex = 4;
     this.CotTG_LV.Width = 139;
     //
     // Cot_Cham_Cong
     //
     this.Cot_Cham_Cong.Caption = "Đã chấm công";
     this.Cot_Cham_Cong.Name = "Cot_Cham_Cong";
     this.Cot_Cham_Cong.Visible = true;
     this.Cot_Cham_Cong.VisibleIndex = 9;
     this.Cot_Cham_Cong.Width = 80;
     //
     // Cot_N_Bs
     //
     this.Cot_N_Bs.Caption = "Sáng (hh:mm)";
     this.Cot_N_Bs.Name = "Cot_N_Bs";
     this.Cot_N_Bs.Visible = true;
     this.Cot_N_Bs.VisibleIndex = 5;
     this.Cot_N_Bs.Width = 79;
     //
     // Cot_N_BC
     //
     this.Cot_N_BC.Caption = "Chiều (hh:mm)";
     this.Cot_N_BC.Name = "Cot_N_BC";
     this.Cot_N_BC.Visible = true;
     this.Cot_N_BC.VisibleIndex = 6;
     this.Cot_N_BC.Width = 82;
     //
     // Cot_NP_Nam
     //
     this.Cot_NP_Nam.Caption = "Nghỉ phép năm";
     this.Cot_NP_Nam.Name = "Cot_NP_Nam";
     this.Cot_NP_Nam.Visible = true;
     this.Cot_NP_Nam.VisibleIndex = 10;
     this.Cot_NP_Nam.Width = 83;
     //
     // Cot_NP_KL
     //
     this.Cot_NP_KL.Caption = "Nghỉ không lương";
     this.Cot_NP_KL.Name = "Cot_NP_KL";
     this.Cot_NP_KL.Visible = true;
     this.Cot_NP_KL.VisibleIndex = 11;
     this.Cot_NP_KL.Width = 95;
     //
     // Cot_Noi_Dung
     //
     this.Cot_Noi_Dung.Caption = "Nội dung";
     this.Cot_Noi_Dung.Name = "Cot_Noi_Dung";
     this.Cot_Noi_Dung.Visible = true;
     this.Cot_Noi_Dung.VisibleIndex = 8;
     this.Cot_Noi_Dung.Width = 54;
     //
     // CotLoai
     //
     this.CotLoai.Caption = "Loại";
     this.CotLoai.Name = "CotLoai";
     this.CotLoai.Width = 31;
     //
     // CotIP_Address
     //
     this.CotIP_Address.Caption = "IP_Address";
     this.CotIP_Address.Name = "CotIP_Address";
     this.CotIP_Address.Visible = true;
     this.CotIP_Address.VisibleIndex = 12;
     this.CotIP_Address.Width = 67;
     //
     // CotLoaiDT_VS
     //
     this.CotLoaiDT_VS.Caption = "Đi trễ / Về sớm";
     this.CotLoaiDT_VS.Name = "CotLoaiDT_VS";
     this.CotLoaiDT_VS.Visible = true;
     this.CotLoaiDT_VS.VisibleIndex = 7;
     this.CotLoaiDT_VS.Width = 83;
     //
     // xtraTabControlDetail
     //
     this.xtraTabControlDetail.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraTabControlDetail.Location = new System.Drawing.Point(0, 0);
     this.xtraTabControlDetail.Name = "xtraTabControlDetail";
     this.xtraTabControlDetail.SelectedTabPage = this.xtraTabPageDetail;
     this.xtraTabControlDetail.Size = new System.Drawing.Size(1013, 210);
     this.xtraTabControlDetail.TabIndex = 0;
     this.xtraTabControlDetail.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.xtraTabPageDetail});
     //
     // xtraTabPageDetail
     //
     this.xtraTabPageDetail.Controls.Add(this.gridControlDetail);
     this.xtraTabPageDetail.Name = "xtraTabPageDetail";
     this.xtraTabPageDetail.Size = new System.Drawing.Size(1006, 181);
     this.xtraTabPageDetail.Text = "Chi tiết";
     //
     // gridControlDetail
     //
     this.gridControlDetail.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlDetail.BackgroundImage")));
     this.gridControlDetail.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.gridControlDetail.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlDetail.Location = new System.Drawing.Point(0, 0);
     this.gridControlDetail.MainView = this.gridViewDetail;
     this.gridControlDetail.Name = "gridControlDetail";
     this.gridControlDetail.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemButtonEdit1,
     this.repositoryItemImageComboBox1});
     this.gridControlDetail.Size = new System.Drawing.Size(1006, 181);
     this.gridControlDetail.TabIndex = 0;
     this.gridControlDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewDetail});
     //
     // gridViewDetail
     //
     this.gridViewDetail.Appearance.HeaderPanel.Options.UseTextOptions = true;
     this.gridViewDetail.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridViewDetail.GridControl = this.gridControlDetail;
     this.gridViewDetail.IndicatorWidth = 40;
     this.gridViewDetail.Name = "gridViewDetail";
     this.gridViewDetail.NewItemRowText = "Nhập dữ liệu mới tại đây";
     this.gridViewDetail.OptionsFilter.UseNewCustomFilterDialog = true;
     this.gridViewDetail.OptionsLayout.Columns.AddNewColumns = false;
     this.gridViewDetail.OptionsNavigation.AutoFocusNewRow = true;
     this.gridViewDetail.OptionsNavigation.EnterMoveNextColumn = true;
     this.gridViewDetail.OptionsPrint.UsePrintStyles = true;
     this.gridViewDetail.OptionsView.EnableAppearanceEvenRow = true;
     this.gridViewDetail.OptionsView.EnableAppearanceOddRow = true;
     this.gridViewDetail.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
     this.gridViewDetail.OptionsView.ShowGroupedColumns = true;
     this.gridViewDetail.OptionsView.ShowGroupPanel = false;
     //
     // repositoryItemButtonEdit1
     //
     this.repositoryItemButtonEdit1.AutoHeight = false;
     this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
     //
     // repositoryItemImageComboBox1
     //
     this.repositoryItemImageComboBox1.AutoHeight = false;
     this.repositoryItemImageComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemImageComboBox1.Name = "repositoryItemImageComboBox1";
     //
     // chkIPMay
     //
     this.chkIPMay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.chkIPMay.Location = new System.Drawing.Point(838, 33);
     this.chkIPMay.MenuManager = this.barManager1;
     this.chkIPMay.Name = "chkIPMay";
     this.chkIPMay.Properties.Caption = "Xem IP";
     this.chkIPMay.Size = new System.Drawing.Size(101, 19);
     this.chkIPMay.TabIndex = 9;
     this.chkIPMay.Tag = "IPMay";
     this.chkIPMay.CheckedChanged += new System.EventHandler(this.ShowColumns);
     //
     // chkChamCong
     //
     this.chkChamCong.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.chkChamCong.Location = new System.Drawing.Point(838, 6);
     this.chkChamCong.MenuManager = this.barManager1;
     this.chkChamCong.Name = "chkChamCong";
     this.chkChamCong.Properties.Caption = "Xem tình trạng chấm công";
     this.chkChamCong.Size = new System.Drawing.Size(161, 19);
     this.chkChamCong.TabIndex = 8;
     this.chkChamCong.Tag = "ChamCong";
     this.chkChamCong.CheckedChanged += new System.EventHandler(this.ShowColumns);
     //
     // popupControlContainerFilter
     //
     this.popupControlContainerFilter.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.popupControlContainerFilter.Controls.Add(this.NhanVien);
     this.popupControlContainerFilter.Controls.Add(this.chkIPMay);
     this.popupControlContainerFilter.Controls.Add(this.chkBinhThuong);
     this.popupControlContainerFilter.Controls.Add(this.chkChamCong);
     this.popupControlContainerFilter.Controls.Add(this.ngayLamViec);
     this.popupControlContainerFilter.Controls.Add(this.chkVe_som);
     this.popupControlContainerFilter.Controls.Add(this.chkDi_tre);
     this.popupControlContainerFilter.Controls.Add(this.chkDaChamCong);
     this.popupControlContainerFilter.Controls.Add(this.chkChuaChamCong);
     this.popupControlContainerFilter.Controls.Add(this.plLabel1);
     this.popupControlContainerFilter.Controls.Add(this.label1);
     this.popupControlContainerFilter.Dock = System.Windows.Forms.DockStyle.Top;
     this.popupControlContainerFilter.Location = new System.Drawing.Point(0, 24);
     this.popupControlContainerFilter.Manager = this.barManager1;
     this.popupControlContainerFilter.Name = "popupControlContainerFilter";
     this.popupControlContainerFilter.Size = new System.Drawing.Size(1013, 61);
     this.popupControlContainerFilter.TabIndex = 0;
     this.popupControlContainerFilter.Visible = false;
     //
     // NhanVien
     //
     this.NhanVien.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.NhanVien.Location = new System.Drawing.Point(67, 6);
     this.NhanVien.Name = "NhanVien";
     this.NhanVien.Size = new System.Drawing.Size(210, 20);
     this.NhanVien.TabIndex = 0;
     //
     // chkBinhThuong
     //
     this.chkBinhThuong.Location = new System.Drawing.Point(516, 33);
     this.chkBinhThuong.MenuManager = this.barManager1;
     this.chkBinhThuong.Name = "chkBinhThuong";
     this.chkBinhThuong.Properties.Caption = "Bình thường";
     this.chkBinhThuong.Size = new System.Drawing.Size(115, 19);
     this.chkBinhThuong.TabIndex = 7;
     //
     // ngayLamViec
     //
     this.ngayLamViec.Caption = "Năm 2010 và 2011";
     this.ngayLamViec.Default = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear;
     this.ngayLamViec.FirstFrom = new System.DateTime(2010, 1, 1, 0, 0, 0, 0);
     this.ngayLamViec.FirstTo = new System.DateTime(2011, 12, 31, 0, 0, 0, 0);
     this.ngayLamViec.FromDate = new System.DateTime(2010, 1, 1, 0, 0, 0, 0);
     this.ngayLamViec.Location = new System.Drawing.Point(380, 5);
     this.ngayLamViec.Name = "ngayLamViec";
     this.ngayLamViec.ReturnType = ProtocolVN.Framework.Win.Trial.TimeType.Date;
     this.ngayLamViec.SecondFrom = new System.DateTime(2010, 1, 1, 0, 0, 0, 0);
     this.ngayLamViec.SecondTo = new System.DateTime(2011, 12, 31, 0, 0, 0, 0);
     this.ngayLamViec.SelectedType = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear;
     this.ngayLamViec.Size = new System.Drawing.Size(226, 21);
     this.ngayLamViec.TabIndex = 1;
     this.ngayLamViec.ToDate = new System.DateTime(2011, 12, 31, 0, 0, 0, 0);
     this.ngayLamViec.Types = ((ProtocolVN.Framework.Win.Trial.SelectionTypes)(((((((((ProtocolVN.Framework.Win.Trial.SelectionTypes.OneDate | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneMonth)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneQuarter)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneYear)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.SixMonths)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromDateToDate)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromMonthToMonth)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromQuarterToQuarter)
                 | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear)));
     //
     // chkVe_som
     //
     this.chkVe_som.Location = new System.Drawing.Point(448, 33);
     this.chkVe_som.MenuManager = this.barManager1;
     this.chkVe_som.Name = "chkVe_som";
     this.chkVe_som.Properties.Caption = "Về sớm";
     this.chkVe_som.Size = new System.Drawing.Size(66, 19);
     this.chkVe_som.TabIndex = 6;
     //
     // chkDi_tre
     //
     this.chkDi_tre.Location = new System.Drawing.Point(378, 33);
     this.chkDi_tre.MenuManager = this.barManager1;
     this.chkDi_tre.Name = "chkDi_tre";
     this.chkDi_tre.Properties.Caption = "Đi  trễ";
     this.chkDi_tre.Size = new System.Drawing.Size(64, 19);
     this.chkDi_tre.TabIndex = 5;
     //
     // chkDaChamCong
     //
     this.chkDaChamCong.Location = new System.Drawing.Point(181, 33);
     this.chkDaChamCong.MenuManager = this.barManager1;
     this.chkDaChamCong.Name = "chkDaChamCong";
     this.chkDaChamCong.Properties.Caption = "Đã chấm công";
     this.chkDaChamCong.Size = new System.Drawing.Size(110, 19);
     this.chkDaChamCong.TabIndex = 3;
     //
     // chkChuaChamCong
     //
     this.chkChuaChamCong.Location = new System.Drawing.Point(65, 33);
     this.chkChuaChamCong.MenuManager = this.barManager1;
     this.chkChuaChamCong.Name = "chkChuaChamCong";
     this.chkChuaChamCong.Properties.Caption = "Chưa chấm công";
     this.chkChuaChamCong.Size = new System.Drawing.Size(110, 19);
     this.chkChuaChamCong.TabIndex = 2;
     //
     // plLabel1
     //
     this.plLabel1.Location = new System.Drawing.Point(308, 9);
     this.plLabel1.Name = "plLabel1";
     this.plLabel1.Size = new System.Drawing.Size(66, 13);
     this.plLabel1.TabIndex = 214;
     this.plLabel1.Text = "Ngày làm việc";
     this.plLabel1.ToolTip = "Dữ liệu bắt buộc nhập";
     this.plLabel1.ZZZType = System.Windows.Forms.PLLabel.LabelType.REQUIRED;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(13, 9);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(48, 13);
     this.label1.TabIndex = 5;
     this.label1.Text = "Nhân viên";
     this.label1.ToolTip = "Dữ liệu bắt buộc nhập";
     this.label1.ZZZType = System.Windows.Forms.PLLabel.LabelType.REQUIRED;
     //
     // gridColumn8
     //
     this.gridColumn8.Caption = "VAT";
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.Visible = true;
     this.gridColumn8.VisibleIndex = 5;
     //
     // gridColumn6
     //
     this.gridColumn6.Caption = "VAT";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 5;
     this.gridColumn6.Width = 96;
     //
     // frmTimeInOutQL
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(1013, 497);
     this.Controls.Add(this.splitContainerControl1);
     this.Controls.Add(this.popupControlContainerFilter);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Name = "frmTimeInOutQL";
     this.Text = "Thời gian làm việc";
     this.Load += new System.EventHandler(this.frmTimeInOutQL_Load);
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).EndInit();
     this.xtraTabControlDetail.ResumeLayout(false);
     this.xtraTabPageDetail.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkIPMay.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkChamCong.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).EndInit();
     this.popupControlContainerFilter.ResumeLayout(false);
     this.popupControlContainerFilter.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chkBinhThuong.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkVe_som.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkDi_tre.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkDaChamCong.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkChuaChamCong.Properties)).EndInit();
     this.ResumeLayout(false);
 }