From c0aa9538d0c080a0ede4fe80b61bb3901db82621 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期四, 13 二月 2025 09:45:35 +0800 Subject: [PATCH] 细节修改 --- DevApp/Gs.DevApp/UserControl/ShowLogcs.Designer.cs | 57 ++++++++++++++++++++++++++++----------------------------- 1 files changed, 28 insertions(+), 29 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/ShowLogcs.Designer.cs b/DevApp/Gs.DevApp/UserControl/ShowLogcs.Designer.cs index 8e4c3d7..3a0d915 100644 --- a/DevApp/Gs.DevApp/UserControl/ShowLogcs.Designer.cs +++ b/DevApp/Gs.DevApp/UserControl/ShowLogcs.Designer.cs @@ -31,8 +31,8 @@ this.gcMain = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gv_operationTime = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gv_operationTable = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_userName = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_operationTable = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_msg = new DevExpress.XtraGrid.Columns.GridColumn(); this.pageBar1 = new UserControls.Data.UcPageBar(); ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit(); @@ -46,7 +46,7 @@ this.gcMain.Location = new System.Drawing.Point(0, 0); this.gcMain.MainView = this.gridView1; this.gcMain.Name = "gcMain"; - this.gcMain.Size = new System.Drawing.Size(933, 560); + this.gcMain.Size = new System.Drawing.Size(933, 590); this.gcMain.TabIndex = 2; this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1}); @@ -57,8 +57,8 @@ this.gridView1.Appearance.Row.Options.UseFont = true; this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gv_operationTime, - this.gv_operationTable, this.gv_userName, + this.gv_operationTable, this.gv_msg}); this.gridView1.GridControl = this.gcMain; this.gridView1.Name = "gridView1"; @@ -72,27 +72,13 @@ this.gv_operationTime.AppearanceCell.Options.UseFont = true; this.gv_operationTime.Caption = "鎿嶄綔鏃堕棿"; this.gv_operationTime.FieldName = "operationTime"; - this.gv_operationTime.MinWidth = 130; + this.gv_operationTime.MinWidth = 180; this.gv_operationTime.Name = "gv_operationTime"; - this.gv_operationTime.OptionsColumn.AllowEdit = false; + this.gv_operationTime.OptionsColumn.ReadOnly = true; this.gv_operationTime.ToolTip = "query_a.OPERATION_TIME"; this.gv_operationTime.Visible = true; this.gv_operationTime.VisibleIndex = 0; - this.gv_operationTime.Width = 130; - // - // gv_operationTable - // - this.gv_operationTable.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_operationTable.AppearanceCell.Options.UseFont = true; - this.gv_operationTable.Caption = "鐩稿叧琛�"; - this.gv_operationTable.FieldName = "operationTable"; - this.gv_operationTable.MinWidth = 60; - this.gv_operationTable.Name = "gv_operationTable"; - this.gv_operationTable.OptionsColumn.AllowEdit = false; - this.gv_operationTable.Tag = "query_a.OPERATION_TABLE"; - this.gv_operationTable.Visible = true; - this.gv_operationTable.VisibleIndex = 1; - this.gv_operationTable.Width = 80; + this.gv_operationTime.Width = 280; // // gv_userName // @@ -100,13 +86,27 @@ this.gv_userName.AppearanceCell.Options.UseFont = true; this.gv_userName.Caption = "鎿嶄綔浜哄憳"; this.gv_userName.FieldName = "userName"; - this.gv_userName.MinWidth = 60; + this.gv_userName.MinWidth = 80; this.gv_userName.Name = "gv_userName"; - this.gv_userName.OptionsColumn.AllowEdit = false; + this.gv_userName.OptionsColumn.ReadOnly = true; this.gv_userName.Tag = "query_a.USER_NAME"; this.gv_userName.Visible = true; - this.gv_userName.VisibleIndex = 2; + this.gv_userName.VisibleIndex = 1; this.gv_userName.Width = 80; + // + // gv_operationTable + // + this.gv_operationTable.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_operationTable.AppearanceCell.Options.UseFont = true; + this.gv_operationTable.Caption = "鐩稿叧琛�"; + this.gv_operationTable.FieldName = "operationTable"; + this.gv_operationTable.MinWidth = 50; + this.gv_operationTable.Name = "gv_operationTable"; + this.gv_operationTable.OptionsColumn.ReadOnly = true; + this.gv_operationTable.Tag = "query_a.OPERATION_TABLE"; + this.gv_operationTable.Visible = true; + this.gv_operationTable.VisibleIndex = 2; + this.gv_operationTable.Width = 80; // // gv_msg // @@ -114,23 +114,21 @@ this.gv_msg.AppearanceCell.Options.UseFont = true; this.gv_msg.Caption = "鎿嶄綔璇︽儏"; this.gv_msg.FieldName = "msg"; - this.gv_msg.MinWidth = 150; this.gv_msg.Name = "gv_msg"; - this.gv_msg.OptionsColumn.AllowEdit = false; + this.gv_msg.OptionsColumn.ReadOnly = true; this.gv_msg.Tag = "query_a.MSG"; this.gv_msg.Visible = true; this.gv_msg.VisibleIndex = 3; - this.gv_msg.Width = 150; + this.gv_msg.Width = 300; // // pageBar1 // this.pageBar1.CurrentPage = 1; this.pageBar1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.pageBar1.Location = new System.Drawing.Point(0, 513); + this.pageBar1.Location = new System.Drawing.Point(0, 543); this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 6, 3, 6); this.pageBar1.Name = "pageBar1"; this.pageBar1.RecordCount = 0; - this.pageBar1.RowsCount = 50; this.pageBar1.Size = new System.Drawing.Size(933, 47); this.pageBar1.TabIndex = 4; this.pageBar1.TotalPages = 0; @@ -139,7 +137,7 @@ // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(933, 560); + this.ClientSize = new System.Drawing.Size(933, 590); this.Controls.Add(this.pageBar1); this.Controls.Add(this.gcMain); this.IconOptions.Image = global::Gs.DevApp.Properties.Resources.logo_png_black; @@ -148,6 +146,7 @@ this.Name = "ShowLogcs"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "鍏宠仈鏃ュ織"; + this.TopMost = true; ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); this.ResumeLayout(false); -- Gitblit v1.9.3