From d70880a3d9ae6c9f99ec380ccd16f5524bb622e6 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期六, 05 四月 2025 09:06:31 +0800 Subject: [PATCH] 修改按钮状态 --- DevApp/Gs.DevApp/DevFrm/User/Role.Designer.cs | 21 +++++++++++++++------ 1 files changed, 15 insertions(+), 6 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/User/Role.Designer.cs b/DevApp/Gs.DevApp/DevFrm/User/Role.Designer.cs index 97ca511..e2a28ec 100644 --- a/DevApp/Gs.DevApp/DevFrm/User/Role.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/User/Role.Designer.cs @@ -66,6 +66,7 @@ this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); + this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); this.xtraTabControl1.SuspendLayout(); this.xtraTabPage1.SuspendLayout(); @@ -153,7 +154,6 @@ // gcMain1 // this.gcMain1.Dock = System.Windows.Forms.DockStyle.Fill; - this.gcMain1.Location = new System.Drawing.Point(0, 0); this.gcMain1.MainView = this.gridView1; this.gcMain1.Name = "gcMain1"; @@ -166,7 +166,6 @@ // // gridView1 // - this.gridView1.Appearance.Row.Options.UseFont = true; this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.roleName, @@ -174,7 +173,8 @@ this.status, this.roleCreateBy, this.createDate, - this.gridColumn1}); + this.gridColumn1, + this.gridColumn2}); this.gridView1.GridControl = this.gcMain1; this.gridView1.Name = "gridView1"; this.gridView1.OptionsView.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways; @@ -322,9 +322,8 @@ this.txt_roleName.Location = new System.Drawing.Point(99, 12); this.txt_roleName.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txt_roleName.Name = "txt_roleName"; - this.txt_roleName.Properties.Appearance.Options.UseFont = true; - this.txt_roleName.Size = new System.Drawing.Size(314, 28); + this.txt_roleName.Size = new System.Drawing.Size(314, 24); this.txt_roleName.StyleController = this.layoutMx1; this.txt_roleName.TabIndex = 128; // @@ -342,7 +341,6 @@ this.txt_roleRemark.Location = new System.Drawing.Point(99, 55); this.txt_roleRemark.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txt_roleRemark.Name = "txt_roleRemark"; - this.txt_roleRemark.Properties.Appearance.Options.UseFont = true; this.txt_roleRemark.Properties.ScrollBars = System.Windows.Forms.ScrollBars.None; this.txt_roleRemark.Size = new System.Drawing.Size(314, 39); @@ -433,6 +431,16 @@ this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem4.TextVisible = false; // + // gridColumn2 + // + this.gridColumn2.Caption = "涓婚敭Guid"; + this.gridColumn2.FieldName = "guid"; + this.gridColumn2.MinWidth = 25; + this.gridColumn2.Name = "gridColumn2"; + this.gridColumn2.Visible = true; + this.gridColumn2.VisibleIndex = 6; + this.gridColumn2.Width = 94; + // // Role // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); @@ -500,5 +508,6 @@ private DevExpress.XtraEditors.CheckEdit txt_isStatus; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; } } \ No newline at end of file -- Gitblit v1.9.3