From ec02022018c44e794fa53e40daa96321daaae4fc Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期一, 02 六月 2025 15:21:30 +0800
Subject: [PATCH] 清理

---
 DevApp/Gs.DevApp/UserControl/UcPageBar.Designer.cs |   36 +++++++++++++++++++++---------------
 1 files changed, 21 insertions(+), 15 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/UcPageBar.Designer.cs b/DevApp/Gs.DevApp/UserControl/UcPageBar.Designer.cs
index 74f172d..1da8d98 100644
--- a/DevApp/Gs.DevApp/UserControl/UcPageBar.Designer.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcPageBar.Designer.cs
@@ -115,7 +115,7 @@
             this.lbTotalRows.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
             | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
-            this.lbTotalRows.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+          
             this.lbTotalRows.Appearance.Options.UseFont = true;
             this.lbTotalRows.Location = new System.Drawing.Point(635, 2);
             this.lbTotalRows.Name = "lbTotalRows";
@@ -129,7 +129,7 @@
             this.lbEnd.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
             | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
-            this.lbEnd.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+          
             this.lbEnd.Appearance.Options.UseFont = true;
             this.lbEnd.Cursor = System.Windows.Forms.Cursors.Hand;
             this.lbEnd.ImageAlignToText = DevExpress.XtraEditors.ImageAlignToText.RightCenter;
@@ -160,7 +160,7 @@
             this.lbNextPage.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
             | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
-            this.lbNextPage.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+           
             this.lbNextPage.Appearance.Options.UseFont = true;
             this.lbNextPage.Cursor = System.Windows.Forms.Cursors.Hand;
             this.lbNextPage.ImageAlignToText = DevExpress.XtraEditors.ImageAlignToText.RightCenter;
@@ -192,7 +192,7 @@
             this.lbPrePage.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
             | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
-            this.lbPrePage.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+            
             this.lbPrePage.Appearance.Options.UseFont = true;
             this.lbPrePage.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
             this.lbPrePage.Cursor = System.Windows.Forms.Cursors.Hand;
@@ -224,7 +224,7 @@
             this.lbFirstPage.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
             | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
-            this.lbFirstPage.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+           
             this.lbFirstPage.Appearance.Options.UseFont = true;
             this.lbFirstPage.Cursor = System.Windows.Forms.Cursors.Hand;
             this.lbFirstPage.ImageAlignToText = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
@@ -243,7 +243,7 @@
             this.labelControl2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
             | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
-            this.labelControl2.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+            
             this.labelControl2.Appearance.Options.UseFont = true;
             this.labelControl2.Location = new System.Drawing.Point(765, 2);
             this.labelControl2.Name = "labelControl2";
@@ -257,11 +257,11 @@
             this.cbxRowCount.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
             | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
-            this.cbxRowCount.EditValue = "20";
+            this.cbxRowCount.EditValue = "0";
             this.cbxRowCount.Location = new System.Drawing.Point(846, 2);
             this.cbxRowCount.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0);
             this.cbxRowCount.Name = "cbxRowCount";
-            this.cbxRowCount.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+            
             this.cbxRowCount.Properties.Appearance.Options.UseFont = true;
             this.cbxRowCount.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
@@ -270,19 +270,23 @@
             "20",
             "50",
             "100",
-            "200"});
+            "200",
+            "250",
+            "500",
+            "800",
+            "1000"});
+            this.cbxRowCount.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
             this.cbxRowCount.Size = new System.Drawing.Size(62, 28);
             this.cbxRowCount.StyleController = this.layoutControl1;
             this.cbxRowCount.TabIndex = 5;
             this.cbxRowCount.Tag = "rowcount";
-            this.cbxRowCount.SelectedIndexChanged += new System.EventHandler(this.cbxRowCount_SelectedIndexChanged);
             // 
             // labelControl1
             // 
             this.labelControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
             | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
-            this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+            
             this.labelControl1.Appearance.Options.UseFont = true;
             this.labelControl1.Location = new System.Drawing.Point(357, 2);
             this.labelControl1.Name = "labelControl1";
@@ -299,8 +303,10 @@
             this.tbxCurrentPage.Location = new System.Drawing.Point(423, 2);
             this.tbxCurrentPage.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0);
             this.tbxCurrentPage.Name = "tbxCurrentPage";
-            this.tbxCurrentPage.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+           
             this.tbxCurrentPage.Properties.Appearance.Options.UseFont = true;
+            this.tbxCurrentPage.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
+            this.tbxCurrentPage.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
             this.tbxCurrentPage.Size = new System.Drawing.Size(66, 28);
             this.tbxCurrentPage.StyleController = this.layoutControl1;
             this.tbxCurrentPage.TabIndex = 2;
@@ -324,7 +330,7 @@
             this.lbTotalPages.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
             | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
-            this.lbTotalPages.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+           
             this.lbTotalPages.Appearance.Options.UseFont = true;
             this.lbTotalPages.Location = new System.Drawing.Point(505, 2);
             this.lbTotalPages.Name = "lbTotalPages";
@@ -562,12 +568,12 @@
             this.emptySpaceItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
             this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
             // 
-            // PageBar
+            // UcPageBar
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.Controls.Add(this.layoutControl1);
-            this.Name = "PageBar";
+            this.Name = "UcPageBar";
             this.Size = new System.Drawing.Size(954, 40);
             ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
             this.layoutControl1.ResumeLayout(false);

--
Gitblit v1.9.3