From 4cb1f00f84d160f97afd0fb86cf600e1be667dd5 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期四, 17 十月 2024 11:22:15 +0800
Subject: [PATCH] 水力组件更新

---
 WinFrmUI/HStation.WinFrmUI.Organize.Core/02-Employee/EmployeeMgrMainPanel.Designer.cs |  307 +++++++++++++++++++++++---------------------------
 1 files changed, 141 insertions(+), 166 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Organize.Core/02-Employee/EmployeeMgrMainPanel.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Organize.Core/02-Employee/EmployeeMgrMainPanel.Designer.cs
index b87c441..af6b86f 100644
--- a/WinFrmUI/HStation.WinFrmUI.Organize.Core/02-Employee/EmployeeMgrMainPanel.Designer.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Organize.Core/02-Employee/EmployeeMgrMainPanel.Designer.cs
@@ -37,40 +37,38 @@
             BtnAdd = new DevExpress.XtraBars.BarButtonItem();
             barEditItem1 = new DevExpress.XtraBars.BarEditItem();
             barEditItem2 = new DevExpress.XtraBars.BarEditItem();
+            barButtonItemDelEmployee = new DevExpress.XtraBars.BarButtonItem();
             ribbonPageCategory1 = new DevExpress.XtraBars.Ribbon.RibbonPageCategory();
             ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
             ribbonPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
-            employeeViewModelBindingSource = new BindingSource(components);
+            employeeModelBindingSource = new BindingSource(components);
             gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
             colErpCode = new DevExpress.XtraGrid.Columns.GridColumn();
+            colProfilePhotoFilePath = new DevExpress.XtraGrid.Columns.GridColumn();
             colPositonName = new DevExpress.XtraGrid.Columns.GridColumn();
             colFirstName = new DevExpress.XtraGrid.Columns.GridColumn();
             colStaffStatus = new DevExpress.XtraGrid.Columns.GridColumn();
             colTelephone = new DevExpress.XtraGrid.Columns.GridColumn();
-            colAddTime = new DevExpress.XtraGrid.Columns.GridColumn();
-            colAddUser = new DevExpress.XtraGrid.Columns.GridColumn();
             colLastName = new DevExpress.XtraGrid.Columns.GridColumn();
             colRequirePasswordReset = new DevExpress.XtraGrid.Columns.GridColumn();
             colDrawSignal = new DevExpress.XtraGrid.Columns.GridColumn();
             colEmail = new DevExpress.XtraGrid.Columns.GridColumn();
+            colLastUser = new DevExpress.XtraGrid.Columns.GridColumn();
+            colLastTime = new DevExpress.XtraGrid.Columns.GridColumn();
+            colAddTime = new DevExpress.XtraGrid.Columns.GridColumn();
+            colUser = new DevExpress.XtraGrid.Columns.GridColumn();
+            colSortCode = new DevExpress.XtraGrid.Columns.GridColumn();
+            gridControl = new DevExpress.XtraGrid.GridControl();
+            colAddUser = new DevExpress.XtraGrid.Columns.GridColumn();
             colLastModifyUser = new DevExpress.XtraGrid.Columns.GridColumn();
             colLastModifyTime = new DevExpress.XtraGrid.Columns.GridColumn();
             colParas = new DevExpress.XtraGrid.Columns.GridColumn();
-            colTagName = new DevExpress.XtraGrid.Columns.GridColumn();
-            colSortCode = new DevExpress.XtraGrid.Columns.GridColumn();
-            gridControl = new DevExpress.XtraGrid.GridControl();
-            gridSplitContainer1 = new DevExpress.XtraGrid.GridSplitContainer();
             ((System.ComponentModel.ISupportInitialize)repositoryItemButtonEdit1).BeginInit();
             ((System.ComponentModel.ISupportInitialize)repositoryItemSearchControl2).BeginInit();
             ((System.ComponentModel.ISupportInitialize)ribbonControl1).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)employeeViewModelBindingSource).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)employeeModelBindingSource).BeginInit();
             ((System.ComponentModel.ISupportInitialize)gridView1).BeginInit();
             ((System.ComponentModel.ISupportInitialize)gridControl).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)gridSplitContainer1).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)gridSplitContainer1.Panel1).BeginInit();
-            gridSplitContainer1.Panel1.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)gridSplitContainer1.Panel2).BeginInit();
-            gridSplitContainer1.SuspendLayout();
             SuspendLayout();
             // 
             // repositoryItemButtonEdit1
@@ -90,9 +88,9 @@
             ribbonControl1.DrawGroupsBorderMode = DevExpress.Utils.DefaultBoolean.False;
             ribbonControl1.ExpandCollapseItem.Id = 0;
             ribbonControl1.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic;
-            ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, barBtnEdit, BtnAdd, barEditItem1, barEditItem2 });
+            ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, barBtnEdit, BtnAdd, barEditItem1, barEditItem2, barButtonItemDelEmployee });
             ribbonControl1.Location = new Point(0, 0);
-            ribbonControl1.MaxItemId = 26;
+            ribbonControl1.MaxItemId = 28;
             ribbonControl1.Name = "ribbonControl1";
             ribbonControl1.PageCategories.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageCategory[] { ribbonPageCategory1 });
             ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage1 });
@@ -131,6 +129,14 @@
             barEditItem2.Id = 23;
             barEditItem2.Name = "barEditItem2";
             // 
+            // barButtonItemDelEmployee
+            // 
+            barButtonItemDelEmployee.Caption = "鍒犻櫎鍛樺伐";
+            barButtonItemDelEmployee.Id = 27;
+            barButtonItemDelEmployee.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barButtonItemDelEmployee.ImageOptions.SvgImage");
+            barButtonItemDelEmployee.Name = "barButtonItemDelEmployee";
+            barButtonItemDelEmployee.ItemClick += barButtonItemDelEmployee_ItemClick;
+            // 
             // ribbonPageCategory1
             // 
             ribbonPageCategory1.Name = "ribbonPageCategory1";
@@ -148,267 +154,226 @@
             ribbonPageGroup.ItemLinks.Add(barBtnEdit);
             ribbonPageGroup.ItemLinks.Add(barEditItem1);
             ribbonPageGroup.ItemLinks.Add(barEditItem2);
+            ribbonPageGroup.ItemLinks.Add(barButtonItemDelEmployee);
             ribbonPageGroup.Name = "ribbonPageGroup";
             ribbonPageGroup.Text = "ribbonPageGroup1";
             // 
-            // employeeViewModelBindingSource
-            // 
-            employeeViewModelBindingSource.DataSource = typeof(EmployeeViewModel);
-            // 
             // gridView1
             // 
-            gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colErpCode, colPositonName, colFirstName, colStaffStatus, colTelephone, colAddTime, colAddUser, colLastName, colRequirePasswordReset, colDrawSignal, colEmail, colLastModifyUser, colLastModifyTime, colParas, colTagName, colSortCode });
+            gridView1.Appearance.HideSelectionRow.Options.UseTextOptions = true;
+            gridView1.Appearance.HideSelectionRow.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            gridView1.AppearancePrint.EvenRow.Options.UseTextOptions = true;
+            gridView1.AppearancePrint.EvenRow.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            gridView1.AppearancePrint.HeaderPanel.Options.UseTextOptions = true;
+            gridView1.AppearancePrint.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colErpCode, colProfilePhotoFilePath, colPositonName, colFirstName, colStaffStatus, colTelephone, colLastName, colRequirePasswordReset, colDrawSignal, colEmail, colLastUser, colLastTime, colAddTime, colUser, colSortCode });
             gridView1.GridControl = gridControl;
             gridView1.Name = "gridView1";
             gridView1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
             gridView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
+            gridView1.OptionsBehavior.Editable = false;
             gridView1.OptionsView.ShowGroupPanel = false;
+            gridView1.CustomUnboundColumnData += gridView1_CustomUnboundColumnData;
             // 
             // colErpCode
             // 
             colErpCode.AppearanceCell.Options.UseTextOptions = true;
             colErpCode.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colErpCode.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
             colErpCode.AppearanceHeader.Options.UseTextOptions = true;
             colErpCode.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colErpCode.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
             colErpCode.Caption = "缂栧彿";
             colErpCode.FieldName = "ErpCode";
             colErpCode.Name = "colErpCode";
-            colErpCode.OptionsColumn.AllowEdit = false;
             colErpCode.Visible = true;
             colErpCode.VisibleIndex = 0;
+            colErpCode.Width = 58;
+            // 
+            // colProfilePhotoFilePath
+            // 
+            colProfilePhotoFilePath.AppearanceCell.Options.UseTextOptions = true;
+            colProfilePhotoFilePath.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            colProfilePhotoFilePath.AppearanceHeader.Options.UseTextOptions = true;
+            colProfilePhotoFilePath.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            colProfilePhotoFilePath.Caption = "澶村儚";
+            colProfilePhotoFilePath.FieldName = "ProfilePhotoFilePath";
+            colProfilePhotoFilePath.Name = "colProfilePhotoFilePath";
+            colProfilePhotoFilePath.Visible = true;
+            colProfilePhotoFilePath.VisibleIndex = 1;
+            colProfilePhotoFilePath.Width = 58;
             // 
             // colPositonName
             // 
             colPositonName.AppearanceCell.Options.UseTextOptions = true;
             colPositonName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colPositonName.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
             colPositonName.AppearanceHeader.Options.UseTextOptions = true;
             colPositonName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colPositonName.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
             colPositonName.Caption = "鑱屽姟";
             colPositonName.FieldName = "PositonName";
             colPositonName.Name = "colPositonName";
-            colPositonName.OptionsColumn.AllowEdit = false;
             colPositonName.Visible = true;
-            colPositonName.VisibleIndex = 1;
+            colPositonName.VisibleIndex = 2;
+            colPositonName.Width = 58;
             // 
             // colFirstName
             // 
             colFirstName.AppearanceCell.Options.UseTextOptions = true;
             colFirstName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colFirstName.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
             colFirstName.AppearanceHeader.Options.UseTextOptions = true;
             colFirstName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colFirstName.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
             colFirstName.Caption = "濮撳悕";
             colFirstName.FieldName = "FirstName";
             colFirstName.Name = "colFirstName";
-            colFirstName.OptionsColumn.AllowEdit = false;
             colFirstName.Visible = true;
-            colFirstName.VisibleIndex = 2;
+            colFirstName.VisibleIndex = 3;
+            colFirstName.Width = 58;
             // 
             // colStaffStatus
             // 
             colStaffStatus.AppearanceCell.Options.UseTextOptions = true;
             colStaffStatus.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colStaffStatus.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
             colStaffStatus.AppearanceHeader.Options.UseTextOptions = true;
             colStaffStatus.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colStaffStatus.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
             colStaffStatus.Caption = "宸ヤ綔鐘舵��";
-            colStaffStatus.FieldName = "StaffStatusLabel";
+            colStaffStatus.FieldName = "StaffStatusName";
             colStaffStatus.Name = "colStaffStatus";
-            colStaffStatus.OptionsColumn.AllowEdit = false;
+            colStaffStatus.UnboundDataType = typeof(string);
             colStaffStatus.Visible = true;
-            colStaffStatus.VisibleIndex = 3;
+            colStaffStatus.VisibleIndex = 4;
+            colStaffStatus.Width = 33;
             // 
             // colTelephone
             // 
             colTelephone.AppearanceCell.Options.UseTextOptions = true;
             colTelephone.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colTelephone.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
             colTelephone.AppearanceHeader.Options.UseTextOptions = true;
             colTelephone.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colTelephone.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
             colTelephone.Caption = "鐢佃瘽";
             colTelephone.FieldName = "Telephone";
             colTelephone.Name = "colTelephone";
-            colTelephone.OptionsColumn.AllowEdit = false;
             colTelephone.Visible = true;
-            colTelephone.VisibleIndex = 4;
-            // 
-            // colAddTime
-            // 
-            colAddTime.AppearanceCell.Options.UseTextOptions = true;
-            colAddTime.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colAddTime.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
-            colAddTime.AppearanceHeader.Options.UseTextOptions = true;
-            colAddTime.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colAddTime.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
-            colAddTime.Caption = "娣诲姞鏃堕棿";
-            colAddTime.FieldName = "AddTime";
-            colAddTime.Name = "colAddTime";
-            colAddTime.OptionsColumn.AllowEdit = false;
-            colAddTime.Visible = true;
-            colAddTime.VisibleIndex = 5;
-            // 
-            // colAddUser
-            // 
-            colAddUser.AppearanceCell.Options.UseTextOptions = true;
-            colAddUser.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colAddUser.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
-            colAddUser.AppearanceHeader.Options.UseTextOptions = true;
-            colAddUser.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colAddUser.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
-            colAddUser.Caption = "娣诲姞鐢ㄦ埛";
-            colAddUser.FieldName = "AddUser";
-            colAddUser.Name = "colAddUser";
-            colAddUser.OptionsColumn.AllowEdit = false;
-            colAddUser.Visible = true;
-            colAddUser.VisibleIndex = 6;
+            colTelephone.VisibleIndex = 5;
+            colTelephone.Width = 57;
             // 
             // colLastName
             // 
             colLastName.AppearanceCell.Options.UseTextOptions = true;
             colLastName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colLastName.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
             colLastName.AppearanceHeader.Options.UseTextOptions = true;
             colLastName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colLastName.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
-            colLastName.Caption = "濮撳悕锛堣嫳鏂囷級";
             colLastName.FieldName = "LastName";
             colLastName.Name = "colLastName";
-            colLastName.OptionsColumn.AllowEdit = false;
             colLastName.Visible = true;
-            colLastName.VisibleIndex = 7;
+            colLastName.VisibleIndex = 6;
+            colLastName.Width = 57;
             // 
             // colRequirePasswordReset
             // 
             colRequirePasswordReset.AppearanceCell.Options.UseTextOptions = true;
             colRequirePasswordReset.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colRequirePasswordReset.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
             colRequirePasswordReset.AppearanceHeader.Options.UseTextOptions = true;
             colRequirePasswordReset.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colRequirePasswordReset.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
-            colRequirePasswordReset.Caption = "鏄惁鐧诲綍閲嶇疆瀵嗙爜";
-            colRequirePasswordReset.FieldName = "RequirePasswordResetLabel";
+            colRequirePasswordReset.Caption = "鏄惁鐧诲綍閲嶇疆";
+            colRequirePasswordReset.FieldName = "RequirePasswordResetName";
             colRequirePasswordReset.Name = "colRequirePasswordReset";
-            colRequirePasswordReset.OptionsColumn.AllowEdit = false;
+            colRequirePasswordReset.UnboundDataType = typeof(string);
             colRequirePasswordReset.Visible = true;
-            colRequirePasswordReset.VisibleIndex = 8;
+            colRequirePasswordReset.VisibleIndex = 7;
+            colRequirePasswordReset.Width = 50;
             // 
             // colDrawSignal
             // 
             colDrawSignal.AppearanceCell.Options.UseTextOptions = true;
             colDrawSignal.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colDrawSignal.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
             colDrawSignal.AppearanceHeader.Options.UseTextOptions = true;
             colDrawSignal.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colDrawSignal.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
-            colDrawSignal.Caption = "鏁板瓧绛惧悕";
+            colDrawSignal.Caption = "绛惧悕";
             colDrawSignal.FieldName = "DrawSignal";
             colDrawSignal.Name = "colDrawSignal";
-            colDrawSignal.OptionsColumn.AllowEdit = false;
             colDrawSignal.Visible = true;
-            colDrawSignal.VisibleIndex = 9;
+            colDrawSignal.VisibleIndex = 8;
+            colDrawSignal.Width = 28;
             // 
             // colEmail
             // 
             colEmail.AppearanceCell.Options.UseTextOptions = true;
             colEmail.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colEmail.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
             colEmail.AppearanceHeader.Options.UseTextOptions = true;
             colEmail.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colEmail.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
             colEmail.Caption = "閭";
             colEmail.FieldName = "Email";
             colEmail.Name = "colEmail";
-            colEmail.OptionsColumn.AllowEdit = false;
             colEmail.Visible = true;
-            colEmail.VisibleIndex = 10;
+            colEmail.VisibleIndex = 9;
+            colEmail.Width = 79;
             // 
-            // colLastModifyUser
+            // colLastUser
             // 
-            colLastModifyUser.AppearanceCell.Options.UseTextOptions = true;
-            colLastModifyUser.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colLastModifyUser.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
-            colLastModifyUser.AppearanceHeader.Options.UseTextOptions = true;
-            colLastModifyUser.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colLastModifyUser.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
-            colLastModifyUser.Caption = "鏈�鍚庝慨鏀圭敤鎴�";
-            colLastModifyUser.FieldName = "LastModifyUser";
-            colLastModifyUser.Name = "colLastModifyUser";
-            colLastModifyUser.OptionsColumn.AllowEdit = false;
-            colLastModifyUser.Visible = true;
-            colLastModifyUser.VisibleIndex = 11;
+            colLastUser.AppearanceCell.Options.UseTextOptions = true;
+            colLastUser.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            colLastUser.AppearanceHeader.Options.UseTextOptions = true;
+            colLastUser.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            colLastUser.Caption = "鏈�鍚庝慨鏀圭敤鎴�";
+            colLastUser.FieldName = "LastModifyUser";
+            colLastUser.Name = "colLastUser";
+            colLastUser.Visible = true;
+            colLastUser.VisibleIndex = 10;
             // 
-            // colLastModifyTime
+            // colLastTime
             // 
-            colLastModifyTime.AppearanceCell.Options.UseTextOptions = true;
-            colLastModifyTime.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colLastModifyTime.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
-            colLastModifyTime.AppearanceHeader.Options.UseTextOptions = true;
-            colLastModifyTime.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colLastModifyTime.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
-            colLastModifyTime.Caption = "鏈�鍚庝慨鏀规椂闂�";
-            colLastModifyTime.FieldName = "LastModifyTime";
-            colLastModifyTime.Name = "colLastModifyTime";
-            colLastModifyTime.OptionsColumn.AllowEdit = false;
-            colLastModifyTime.Visible = true;
-            colLastModifyTime.VisibleIndex = 12;
+            colLastTime.AppearanceCell.Options.UseTextOptions = true;
+            colLastTime.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            colLastTime.AppearanceHeader.Options.UseTextOptions = true;
+            colLastTime.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            colLastTime.Caption = "鏈�鍚庝慨鏀规椂闂�";
+            colLastTime.FieldName = "LastModifyTime";
+            colLastTime.Name = "colLastTime";
+            colLastTime.Visible = true;
+            colLastTime.VisibleIndex = 11;
             // 
-            // colParas
+            // colAddTime
             // 
-            colParas.AppearanceCell.Options.UseTextOptions = true;
-            colParas.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colParas.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
-            colParas.AppearanceHeader.Options.UseTextOptions = true;
-            colParas.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colParas.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
-            colParas.Caption = "鍙傛暟";
-            colParas.FieldName = "Paras";
-            colParas.Name = "colParas";
-            colParas.OptionsColumn.AllowEdit = false;
-            colParas.Visible = true;
-            colParas.VisibleIndex = 13;
+            colAddTime.AppearanceCell.Options.UseTextOptions = true;
+            colAddTime.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            colAddTime.AppearanceHeader.Options.UseTextOptions = true;
+            colAddTime.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            colAddTime.Caption = "娣诲姞鏃堕棿";
+            colAddTime.FieldName = "AddTime";
+            colAddTime.Name = "colAddTime";
+            colAddTime.Visible = true;
+            colAddTime.VisibleIndex = 12;
+            colAddTime.Width = 39;
             // 
-            // colTagName
+            // colUser
             // 
-            colTagName.AppearanceCell.Options.UseTextOptions = true;
-            colTagName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colTagName.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
-            colTagName.AppearanceHeader.Options.UseTextOptions = true;
-            colTagName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colTagName.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
-            colTagName.Caption = "鏍囩";
-            colTagName.FieldName = "TagName";
-            colTagName.Name = "colTagName";
-            colTagName.OptionsColumn.AllowEdit = false;
-            colTagName.Visible = true;
-            colTagName.VisibleIndex = 14;
+            colUser.AppearanceCell.Options.UseTextOptions = true;
+            colUser.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            colUser.AppearanceHeader.Options.UseTextOptions = true;
+            colUser.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            colUser.Caption = "娣诲姞鐢ㄦ埛";
+            colUser.FieldName = "AddUser";
+            colUser.Name = "colUser";
+            colUser.Visible = true;
+            colUser.VisibleIndex = 13;
+            colUser.Width = 58;
             // 
             // colSortCode
             // 
             colSortCode.AppearanceCell.Options.UseTextOptions = true;
             colSortCode.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colSortCode.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
             colSortCode.AppearanceHeader.Options.UseTextOptions = true;
             colSortCode.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            colSortCode.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
             colSortCode.Caption = "鎺掑簭鐮�";
             colSortCode.FieldName = "SortCode";
             colSortCode.Name = "colSortCode";
-            colSortCode.OptionsColumn.AllowEdit = false;
             colSortCode.Visible = true;
-            colSortCode.VisibleIndex = 15;
+            colSortCode.VisibleIndex = 14;
+            colSortCode.Width = 52;
             // 
             // gridControl
             // 
-            gridControl.DataSource = employeeViewModelBindingSource;
+            gridControl.DataSource = employeeModelBindingSource;
             gridControl.Dock = DockStyle.Fill;
-            gridControl.Location = new Point(0, 0);
+            gridControl.Location = new Point(0, 104);
             gridControl.MainView = gridView1;
             gridControl.MenuManager = ribbonControl1;
             gridControl.Name = "gridControl";
@@ -416,18 +381,25 @@
             gridControl.TabIndex = 2;
             gridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 });
             // 
-            // gridSplitContainer1
+            // colAddUser
             // 
-            gridSplitContainer1.Dock = DockStyle.Fill;
-            gridSplitContainer1.Grid = gridControl;
-            gridSplitContainer1.Location = new Point(0, 104);
-            gridSplitContainer1.Name = "gridSplitContainer1";
+            colAddUser.FieldName = "AddUser";
+            colAddUser.Name = "colAddUser";
             // 
-            // gridSplitContainer1.Panel1
+            // colLastModifyUser
             // 
-            gridSplitContainer1.Panel1.Controls.Add(gridControl);
-            gridSplitContainer1.Size = new Size(870, 343);
-            gridSplitContainer1.TabIndex = 4;
+            colLastModifyUser.FieldName = "LastModifyUser";
+            colLastModifyUser.Name = "colLastModifyUser";
+            // 
+            // colLastModifyTime
+            // 
+            colLastModifyTime.FieldName = "LastModifyTime";
+            colLastModifyTime.Name = "colLastModifyTime";
+            // 
+            // colParas
+            // 
+            colParas.FieldName = "Paras";
+            colParas.Name = "colParas";
             // 
             // EmployeeMgrMainPanel
             // 
@@ -435,21 +407,16 @@
             Appearance.Options.UseBackColor = true;
             AutoScaleDimensions = new SizeF(7F, 14F);
             AutoScaleMode = AutoScaleMode.Font;
-            Controls.Add(gridSplitContainer1);
+            Controls.Add(gridControl);
             Controls.Add(ribbonControl1);
             Name = "EmployeeMgrMainPanel";
             Size = new Size(870, 447);
             ((System.ComponentModel.ISupportInitialize)repositoryItemButtonEdit1).EndInit();
             ((System.ComponentModel.ISupportInitialize)repositoryItemSearchControl2).EndInit();
             ((System.ComponentModel.ISupportInitialize)ribbonControl1).EndInit();
-            ((System.ComponentModel.ISupportInitialize)employeeViewModelBindingSource).EndInit();
+            ((System.ComponentModel.ISupportInitialize)employeeModelBindingSource).EndInit();
             ((System.ComponentModel.ISupportInitialize)gridView1).EndInit();
             ((System.ComponentModel.ISupportInitialize)gridControl).EndInit();
-            ((System.ComponentModel.ISupportInitialize)gridSplitContainer1.Panel1).EndInit();
-            gridSplitContainer1.Panel1.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)gridSplitContainer1.Panel2).EndInit();
-            ((System.ComponentModel.ISupportInitialize)gridSplitContainer1).EndInit();
-            gridSplitContainer1.ResumeLayout(false);
             ResumeLayout(false);
             PerformLayout();
         }
@@ -461,7 +428,7 @@
         private DevExpress.XtraBars.BarButtonItem BtnAdd;
         private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1;
         private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup;
-        private BindingSource employeeViewModelBindingSource;
+        private BindingSource employeeModelBindingSource;
         private BindingSource employeeViewModelBindingSource1;
         private BindingSource flagsBindingSource;
         private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
@@ -482,7 +449,6 @@
         private DevExpress.XtraGrid.Columns.GridColumn colTagName;
         private DevExpress.XtraGrid.Columns.GridColumn colSortCode;
         private DevExpress.XtraGrid.GridControl gridControl;
-        private DevExpress.XtraGrid.GridSplitContainer gridSplitContainer1;
         private DevExpress.XtraEditors.GridLookUpEdit gridLookUpEdit1;
         private DevExpress.XtraGrid.Views.Grid.GridView gridLookUpEdit1View;
         private DevExpress.XtraBars.BarEditItem barEditItem1;
@@ -490,5 +456,14 @@
         private DevExpress.XtraBars.Ribbon.RibbonPageCategory ribbonPageCategory1;
         private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1;
         private DevExpress.XtraEditors.Repository.RepositoryItemSearchControl repositoryItemSearchControl2;
+        private DevExpress.XtraBars.BarButtonItem barButtonItem1;
+        private DevExpress.XtraGrid.Columns.GridColumn colID;
+        private DevExpress.XtraGrid.Columns.GridColumn colProfilePhotoFilePath;
+        private DevExpress.XtraGrid.Columns.GridColumn colUser;
+        private DevExpress.XtraGrid.Columns.GridColumn colEmployeeID;
+        private DevExpress.XtraGrid.Columns.GridColumn colLastUser;
+        private DevExpress.XtraGrid.Columns.GridColumn colLastTime;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
+        private DevExpress.XtraBars.BarButtonItem barButtonItemDelEmployee;
     }
 }

--
Gitblit v1.9.3