From b084bd77d01a94c8f0a2d20c86a1f45ba7c8a23c Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期六, 19 四月 2025 14:08:05 +0800 Subject: [PATCH] 页面跳转 --- DevApp/Gs.DevApp/UserControl/ShowLogcs.Designer.cs | 74 ++++++++++++------------------------ 1 files changed, 25 insertions(+), 49 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/ShowLogcs.Designer.cs b/DevApp/Gs.DevApp/UserControl/ShowLogcs.Designer.cs index 8e4c3d7..84402df 100644 --- a/DevApp/Gs.DevApp/UserControl/ShowLogcs.Designer.cs +++ b/DevApp/Gs.DevApp/UserControl/ShowLogcs.Designer.cs @@ -31,10 +31,9 @@ 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(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); this.SuspendLayout(); @@ -42,23 +41,21 @@ // gcMain // this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill; - this.gcMain.Font = new System.Drawing.Font("Tahoma", 10F); 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}); // // gridView1 // - this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F); 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"; @@ -68,79 +65,58 @@ // // gv_operationTime // - this.gv_operationTime.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); 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 // - this.gv_userName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); 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.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.Width = 80; // // gv_msg // - this.gv_msg.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); 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; - // - // pageBar1 - // - this.pageBar1.CurrentPage = 1; - this.pageBar1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.pageBar1.Location = new System.Drawing.Point(0, 513); - 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; + this.gv_msg.VisibleIndex = 2; + this.gv_msg.Width = 300; // // ShowLogcs // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(933, 560); - this.Controls.Add(this.pageBar1); + this.ClientSize = new System.Drawing.Size(933, 590); this.Controls.Add(this.gcMain); this.IconOptions.Image = global::Gs.DevApp.Properties.Resources.logo_png_black; this.MaximizeBox = false; @@ -148,6 +124,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); @@ -162,6 +139,5 @@ private DevExpress.XtraGrid.Columns.GridColumn gv_operationTable; private DevExpress.XtraGrid.Columns.GridColumn gv_userName; private DevExpress.XtraGrid.Columns.GridColumn gv_msg; - private UserControls.Data.UcPageBar pageBar1; } } \ No newline at end of file -- Gitblit v1.9.3