From 0d47c140ab1b6f396c194e0f1a63e8cbb1508cf4 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期五, 17 一月 2025 22:10:38 +0800 Subject: [PATCH] 细节 --- DevApp/Gs.DevApp/DevFrm/User/User.Designer.cs | 93 +++++++++++++++++++--------------------------- 1 files changed, 39 insertions(+), 54 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/User/User.Designer.cs b/DevApp/Gs.DevApp/DevFrm/User/User.Designer.cs index e81cf69..237b5ac 100644 --- a/DevApp/Gs.DevApp/DevFrm/User/User.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/User/User.Designer.cs @@ -48,8 +48,6 @@ 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,15 +105,17 @@ // 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_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 // @@ -126,7 +127,7 @@ 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; @@ -141,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}); @@ -187,7 +190,7 @@ this.account.OptionsColumn.AllowEdit = false; this.account.Tag = "query_ACCOUNT"; this.account.Visible = true; - this.account.VisibleIndex = 0; + this.account.VisibleIndex = 2; this.account.Width = 94; // // userName @@ -201,36 +204,8 @@ this.userName.OptionsColumn.AllowEdit = false; 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 = 50; - this.tel.Name = "tel"; - this.tel.OptionsColumn.AllowEdit = false; - this.tel.Tag = "query_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 = 50; - this.email.Name = "email"; - this.email.OptionsColumn.AllowEdit = false; - this.email.Tag = "query_email"; - this.email.Visible = true; - this.email.VisibleIndex = 3; - this.email.Width = 94; // // colCreateBy // @@ -250,7 +225,7 @@ this.createTime.AppearanceCell.Options.UseFont = true; this.createTime.Caption = "寤虹珛鏃堕棿"; this.createTime.FieldName = "createTime"; - this.createTime.MinWidth = 180; + this.createTime.MinWidth = 50; this.createTime.Name = "createTime"; this.createTime.OptionsColumn.AllowEdit = false; this.createTime.Tag = "query_CREATE_TIME"; @@ -264,7 +239,7 @@ this.lastLoginTime.AppearanceCell.Options.UseFont = true; this.lastLoginTime.Caption = "鏈�杩戠櫥褰曟椂闂�"; this.lastLoginTime.FieldName = "lastloginTime"; - this.lastLoginTime.MinWidth = 180; + this.lastLoginTime.MinWidth = 50; this.lastLoginTime.Name = "lastLoginTime"; this.lastLoginTime.OptionsColumn.AllowEdit = false; this.lastLoginTime.Tag = "query_LASTLOGIN_TIME"; @@ -283,7 +258,7 @@ this.loginCounter.OptionsColumn.AllowEdit = false; this.loginCounter.Tag = "query_LOGIN_COUNTER"; this.loginCounter.Visible = true; - this.loginCounter.VisibleIndex = 8; + this.loginCounter.VisibleIndex = 7; this.loginCounter.Width = 94; // // colRole @@ -297,7 +272,7 @@ 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 @@ -323,7 +298,7 @@ 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 @@ -343,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, @@ -354,7 +329,7 @@ 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.Size = new System.Drawing.Size(1002, 570); this.xtraTabPage1.Text = "鏁版嵁鍒楄〃"; // // pageBar1 @@ -365,7 +340,7 @@ this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5); this.pageBar1.Name = "pageBar1"; this.pageBar1.RecordCount = 0; - 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; // @@ -626,11 +601,22 @@ 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"; @@ -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