From a7feb4c13e6f83f7adf8510dc7cb5c1323c87de5 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期四, 16 一月 2025 13:36:14 +0800
Subject: [PATCH] 细节
---
DevApp/Gs.DevApp/DevFrm/User/User.Designer.cs | 161 ++++++++++++++++++++++++-----------------------------
1 files changed, 73 insertions(+), 88 deletions(-)
diff --git a/DevApp/Gs.DevApp/DevFrm/User/User.Designer.cs b/DevApp/Gs.DevApp/DevFrm/User/User.Designer.cs
index e534ed2..237b5ac 100644
--- a/DevApp/Gs.DevApp/DevFrm/User/User.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/User/User.Designer.cs
@@ -31,25 +31,23 @@
{
DevExpress.XtraGrid.GridFormatRule gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
- DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions5 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
- DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject17 = new DevExpress.Utils.SerializableAppearanceObject();
- DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject18 = new DevExpress.Utils.SerializableAppearanceObject();
- DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject19 = new DevExpress.Utils.SerializableAppearanceObject();
- DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject20 = new DevExpress.Utils.SerializableAppearanceObject();
- DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions6 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+ DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+ DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
+ DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
+ DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
+ DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
+ DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(User));
- DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject21 = new DevExpress.Utils.SerializableAppearanceObject();
- DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject22 = new DevExpress.Utils.SerializableAppearanceObject();
- DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject23 = new DevExpress.Utils.SerializableAppearanceObject();
- DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject24 = new DevExpress.Utils.SerializableAppearanceObject();
+ DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject();
+ DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject();
+ DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject();
+ DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject();
this.isLocked = new DevExpress.XtraGrid.Columns.GridColumn();
this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu();
this.gcMain = new DevExpress.XtraGrid.GridControl();
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.account = new DevExpress.XtraGrid.Columns.GridColumn();
this.userName = new DevExpress.XtraGrid.Columns.GridColumn();
- this.tel = new DevExpress.XtraGrid.Columns.GridColumn();
- this.email = new DevExpress.XtraGrid.Columns.GridColumn();
this.colCreateBy = new DevExpress.XtraGrid.Columns.GridColumn();
this.createTime = new DevExpress.XtraGrid.Columns.GridColumn();
this.lastLoginTime = new DevExpress.XtraGrid.Columns.GridColumn();
@@ -84,6 +82,7 @@
this.lbPwd = new DevExpress.XtraEditors.LabelControl();
this.txt_userName = new DevExpress.XtraEditors.TextEdit();
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
+ this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit();
@@ -106,26 +105,29 @@
//
this.isLocked.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
this.isLocked.AppearanceCell.Options.UseFont = true;
- this.isLocked.Caption = "鐘舵��";
+ this.isLocked.Caption = "浣跨敤鐘舵��";
this.isLocked.FieldName = "isStatus";
- this.isLocked.MinWidth = 25;
+ this.isLocked.MaxWidth = 50;
+ this.isLocked.MinWidth = 50;
this.isLocked.Name = "isLocked";
this.isLocked.OptionsColumn.AllowEdit = false;
- this.isLocked.Tag = "query_a.IS_STATUS";
+ this.isLocked.Tag = "query_IS_STATUS";
+ this.isLocked.UnboundDataType = typeof(bool);
this.isLocked.Visible = true;
- this.isLocked.VisibleIndex = 7;
- this.isLocked.Width = 94;
+ this.isLocked.VisibleIndex = 0;
+ this.isLocked.Width = 50;
//
// toolBarMenu1
//
this.toolBarMenu1.chkParameter = null;
+ this.toolBarMenu1.currentAction = null;
this.toolBarMenu1.Dock = System.Windows.Forms.DockStyle.Top;
this.toolBarMenu1.guidKey = null;
this.toolBarMenu1.isSetBtn = false;
this.toolBarMenu1.Location = new System.Drawing.Point(0, 0);
this.toolBarMenu1.Name = "toolBarMenu1";
this.toolBarMenu1.rptParameter = "rpt_User{}";
- this.toolBarMenu1.Size = new System.Drawing.Size(738, 80);
+ this.toolBarMenu1.Size = new System.Drawing.Size(1004, 80);
this.toolBarMenu1.TabIndex = 0;
this.toolBarMenu1.xlsInService = null;
this.toolBarMenu1.xlsOutParameter = null;
@@ -140,24 +142,26 @@
this.gcMain.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
this.repositoryItemButtonEdit1,
this.repositoryItemButtonEdit2});
- this.gcMain.Size = new System.Drawing.Size(736, 531);
+ this.gcMain.Size = new System.Drawing.Size(1002, 531);
this.gcMain.TabIndex = 1;
this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.gridView1});
//
// gridView1
//
+ this.gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true;
+ this.gridView1.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F);
this.gridView1.Appearance.Row.Options.UseFont = true;
+ this.gridView1.ColumnPanelRowHeight = 50;
this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
+ this.isLocked,
+ this.gridColumn2,
this.account,
this.userName,
- this.tel,
- this.email,
this.colCreateBy,
this.createTime,
this.lastLoginTime,
- this.isLocked,
this.loginCounter,
this.colRole,
this.gridColumn1});
@@ -181,12 +185,12 @@
this.account.AppearanceCell.Options.UseFont = true;
this.account.Caption = "鐧诲綍璐﹀彿";
this.account.FieldName = "account";
- this.account.MinWidth = 25;
+ this.account.MinWidth = 50;
this.account.Name = "account";
this.account.OptionsColumn.AllowEdit = false;
- this.account.Tag = "query_a.ACCOUNT";
+ this.account.Tag = "query_ACCOUNT";
this.account.Visible = true;
- this.account.VisibleIndex = 0;
+ this.account.VisibleIndex = 2;
this.account.Width = 94;
//
// userName
@@ -195,49 +199,22 @@
this.userName.AppearanceCell.Options.UseFont = true;
this.userName.Caption = "鐢ㄦ埛鍚�";
this.userName.FieldName = "userName";
- this.userName.MinWidth = 25;
+ this.userName.MinWidth = 50;
this.userName.Name = "userName";
this.userName.OptionsColumn.AllowEdit = false;
- this.userName.Tag = "query_a.USER_NAME";
+ this.userName.Tag = "query_USER_NAME";
this.userName.Visible = true;
- this.userName.VisibleIndex = 1;
+ this.userName.VisibleIndex = 3;
this.userName.Width = 94;
- //
- // tel
- //
- this.tel.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
- this.tel.AppearanceCell.Options.UseFont = true;
- this.tel.Caption = "鑱旂郴鐢佃瘽";
- this.tel.FieldName = "tel";
- this.tel.MinWidth = 25;
- this.tel.Name = "tel";
- this.tel.OptionsColumn.AllowEdit = false;
- this.tel.Tag = "query_a.tel";
- this.tel.Visible = true;
- this.tel.VisibleIndex = 2;
- this.tel.Width = 94;
- //
- // email
- //
- this.email.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
- this.email.AppearanceCell.Options.UseFont = true;
- this.email.Caption = "閭";
- this.email.FieldName = "email";
- this.email.MinWidth = 25;
- this.email.Name = "email";
- this.email.OptionsColumn.AllowEdit = false;
- this.email.Tag = "query_a.email";
- this.email.Visible = true;
- this.email.VisibleIndex = 3;
- this.email.Width = 94;
//
// colCreateBy
//
this.colCreateBy.Caption = "寤虹珛鑰�";
this.colCreateBy.FieldName = "createBy";
- this.colCreateBy.MinWidth = 25;
+ this.colCreateBy.MinWidth = 50;
this.colCreateBy.Name = "colCreateBy";
this.colCreateBy.OptionsColumn.AllowEdit = false;
+ this.colCreateBy.Tag = "query_CREATE_BY";
this.colCreateBy.Visible = true;
this.colCreateBy.VisibleIndex = 4;
this.colCreateBy.Width = 94;
@@ -248,13 +225,13 @@
this.createTime.AppearanceCell.Options.UseFont = true;
this.createTime.Caption = "寤虹珛鏃堕棿";
this.createTime.FieldName = "createTime";
- this.createTime.MinWidth = 25;
+ this.createTime.MinWidth = 50;
this.createTime.Name = "createTime";
this.createTime.OptionsColumn.AllowEdit = false;
- this.createTime.Tag = "query_a.CREATE_TIME";
+ this.createTime.Tag = "query_CREATE_TIME";
this.createTime.Visible = true;
this.createTime.VisibleIndex = 5;
- this.createTime.Width = 94;
+ this.createTime.Width = 180;
//
// lastLoginTime
//
@@ -262,13 +239,13 @@
this.lastLoginTime.AppearanceCell.Options.UseFont = true;
this.lastLoginTime.Caption = "鏈�杩戠櫥褰曟椂闂�";
this.lastLoginTime.FieldName = "lastloginTime";
- this.lastLoginTime.MinWidth = 25;
+ this.lastLoginTime.MinWidth = 50;
this.lastLoginTime.Name = "lastLoginTime";
this.lastLoginTime.OptionsColumn.AllowEdit = false;
- this.lastLoginTime.Tag = "query_a.LASTLOGIN_TIME";
+ this.lastLoginTime.Tag = "query_LASTLOGIN_TIME";
this.lastLoginTime.Visible = true;
this.lastLoginTime.VisibleIndex = 6;
- this.lastLoginTime.Width = 94;
+ this.lastLoginTime.Width = 180;
//
// loginCounter
//
@@ -279,9 +256,9 @@
this.loginCounter.MinWidth = 25;
this.loginCounter.Name = "loginCounter";
this.loginCounter.OptionsColumn.AllowEdit = false;
- this.loginCounter.Tag = "query_a.LOGIN_COUNTER";
+ this.loginCounter.Tag = "query_LOGIN_COUNTER";
this.loginCounter.Visible = true;
- this.loginCounter.VisibleIndex = 8;
+ this.loginCounter.VisibleIndex = 7;
this.loginCounter.Width = 94;
//
// colRole
@@ -295,18 +272,18 @@
this.colRole.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways;
this.colRole.Tag = "";
this.colRole.Visible = true;
- this.colRole.VisibleIndex = 9;
+ this.colRole.VisibleIndex = 8;
this.colRole.Width = 94;
//
// repositoryItemButtonEdit1
//
this.repositoryItemButtonEdit1.AutoHeight = false;
- editorButtonImageOptions5.Image = global::Gs.DevApp.Properties.Resources.user_16x16;
- editorButtonImageOptions5.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
- serializableAppearanceObject17.Font = new System.Drawing.Font("Tahoma", 10F);
- serializableAppearanceObject17.Options.UseFont = true;
+ editorButtonImageOptions1.Image = global::Gs.DevApp.Properties.Resources.user_16x16;
+ editorButtonImageOptions1.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
+ serializableAppearanceObject1.Font = new System.Drawing.Font("Tahoma", 10F);
+ serializableAppearanceObject1.Options.UseFont = true;
this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
- new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "璁剧疆瑙掕壊", -1, true, true, false, editorButtonImageOptions5, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject17, serializableAppearanceObject18, serializableAppearanceObject19, serializableAppearanceObject20, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "璁剧疆瑙掕壊", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
this.repositoryItemButtonEdit1.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEdit1_ButtonClick);
@@ -321,16 +298,16 @@
this.gridColumn1.OptionsFilter.AllowFilter = false;
this.gridColumn1.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways;
this.gridColumn1.Visible = true;
- this.gridColumn1.VisibleIndex = 10;
+ this.gridColumn1.VisibleIndex = 9;
this.gridColumn1.Width = 94;
//
// repositoryItemButtonEdit2
//
this.repositoryItemButtonEdit2.AutoHeight = false;
- editorButtonImageOptions6.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions6.Image")));
- editorButtonImageOptions6.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
+ editorButtonImageOptions2.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions2.Image")));
+ editorButtonImageOptions2.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
this.repositoryItemButtonEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
- new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "閲嶇疆瀵嗙爜", -1, true, true, false, editorButtonImageOptions6, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject21, serializableAppearanceObject22, serializableAppearanceObject23, serializableAppearanceObject24, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "閲嶇疆瀵嗙爜", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
this.repositoryItemButtonEdit2.Name = "repositoryItemButtonEdit2";
this.repositoryItemButtonEdit2.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
this.repositoryItemButtonEdit2.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEdit2_ButtonClick);
@@ -341,7 +318,7 @@
this.xtraTabControl1.Location = new System.Drawing.Point(0, 80);
this.xtraTabControl1.Name = "xtraTabControl1";
this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1;
- this.xtraTabControl1.Size = new System.Drawing.Size(738, 602);
+ this.xtraTabControl1.Size = new System.Drawing.Size(1004, 602);
this.xtraTabControl1.TabIndex = 3;
this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
this.xtraTabPage1,
@@ -352,8 +329,8 @@
this.xtraTabPage1.Controls.Add(this.gcMain);
this.xtraTabPage1.Controls.Add(this.pageBar1);
this.xtraTabPage1.Name = "xtraTabPage1";
- this.xtraTabPage1.Size = new System.Drawing.Size(736, 570);
- this.xtraTabPage1.Text = "鏁版嵁鏌ヨ";
+ this.xtraTabPage1.Size = new System.Drawing.Size(1002, 570);
+ this.xtraTabPage1.Text = "鏁版嵁鍒楄〃";
//
// pageBar1
//
@@ -363,8 +340,7 @@
this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5);
this.pageBar1.Name = "pageBar1";
this.pageBar1.RecordCount = 0;
- this.pageBar1.RowsCount = 50;
- this.pageBar1.Size = new System.Drawing.Size(736, 39);
+ this.pageBar1.Size = new System.Drawing.Size(1002, 39);
this.pageBar1.TabIndex = 3;
this.pageBar1.TotalPages = 0;
//
@@ -372,9 +348,8 @@
//
this.xtraTabPage2.Controls.Add(this.panel1);
this.xtraTabPage2.Name = "xtraTabPage2";
- this.xtraTabPage2.PageEnabled = false;
this.xtraTabPage2.Size = new System.Drawing.Size(736, 570);
- this.xtraTabPage2.Text = "鏁版嵁缂栬緫";
+ this.xtraTabPage2.Text = "鏁版嵁璇︾粏";
//
// panel1
//
@@ -626,15 +601,26 @@
this.labelControl2.TabIndex = 94;
this.labelControl2.Text = "濮撳悕锛�";
//
+ // gridColumn2
+ //
+ this.gridColumn2.Caption = "鍦ㄧ嚎鐘舵��";
+ this.gridColumn2.FieldName = "flagOnline";
+ this.gridColumn2.MaxWidth = 50;
+ this.gridColumn2.MinWidth = 50;
+ this.gridColumn2.Name = "gridColumn2";
+ this.gridColumn2.Visible = true;
+ this.gridColumn2.VisibleIndex = 1;
+ this.gridColumn2.Width = 50;
+ //
// User
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(738, 682);
+ this.ClientSize = new System.Drawing.Size(1004, 682);
this.Controls.Add(this.xtraTabControl1);
this.Controls.Add(this.toolBarMenu1);
this.Name = "User";
- this.Text = "User";
+ this.Text = "鐢ㄦ埛绠$悊";
((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit();
@@ -662,8 +648,6 @@
private DevExpress.XtraGrid.GridControl gcMain;
private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
private DevExpress.XtraGrid.Columns.GridColumn userName;
- private DevExpress.XtraGrid.Columns.GridColumn tel;
- private DevExpress.XtraGrid.Columns.GridColumn email;
private DevExpress.XtraGrid.Columns.GridColumn createTime;
private DevExpress.XtraGrid.Columns.GridColumn lastLoginTime;
private DevExpress.XtraGrid.Columns.GridColumn isLocked;
@@ -687,7 +671,6 @@
private DevExpress.XtraEditors.LabelControl tipPwd;
private DevExpress.XtraEditors.LabelControl labelControl9;
private DevExpress.XtraEditors.LabelControl labelControl6;
- private DevExpress.XtraEditors.LabelControl labelControl5;
private DevExpress.XtraEditors.TextEdit txt_password;
private DevExpress.XtraEditors.LabelControl lbPwd;
private DevExpress.XtraEditors.TextEdit txt_userName;
@@ -698,7 +681,9 @@
private DevExpress.XtraGrid.Columns.GridColumn account;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit2;
- private System.Windows.Forms.CheckBox txt_isStatus;
private DevExpress.XtraGrid.Columns.GridColumn colCreateBy;
+ private System.Windows.Forms.CheckBox txt_isStatus;
+ private DevExpress.XtraEditors.LabelControl labelControl5;
+ private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
}
}
\ No newline at end of file
--
Gitblit v1.9.3