From ea07bd66376ca89e29d9dd803a1a290c039d4928 Mon Sep 17 00:00:00 2001 From: kyy <3283105747@qq.com> Date: 星期四, 25 九月 2025 20:41:48 +0800 Subject: [PATCH] 1、隐藏页数 --- DevApp/Gs.DevApp/UserControl/UcPageBar.Designer.cs | 235 ++++++++++++++++++++++++++++++---------------------------- 1 files changed, 123 insertions(+), 112 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/UcPageBar.Designer.cs b/DevApp/Gs.DevApp/UserControl/UcPageBar.Designer.cs index 1da8d98..8774cfa 100644 --- a/DevApp/Gs.DevApp/UserControl/UcPageBar.Designer.cs +++ b/DevApp/Gs.DevApp/UserControl/UcPageBar.Designer.cs @@ -103,10 +103,11 @@ this.layoutControl1.Controls.Add(this.lbTotalPages); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 0); + this.layoutControl1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(271, 457, 562, 500); this.layoutControl1.Root = this.layoutControlGroup1; - this.layoutControl1.Size = new System.Drawing.Size(954, 40); + this.layoutControl1.Size = new System.Drawing.Size(716, 32); this.layoutControl1.TabIndex = 7; this.layoutControl1.Text = "layoutControl1"; // @@ -115,11 +116,11 @@ 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.Options.UseFont = true; - this.lbTotalRows.Location = new System.Drawing.Point(635, 2); + this.lbTotalRows.Location = new System.Drawing.Point(473, 2); + this.lbTotalRows.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.lbTotalRows.Name = "lbTotalRows"; - this.lbTotalRows.Size = new System.Drawing.Size(96, 28); + this.lbTotalRows.Size = new System.Drawing.Size(73, 22); this.lbTotalRows.StyleController = this.layoutControl1; this.lbTotalRows.TabIndex = 15; this.lbTotalRows.Text = "鍏� 鏉¤褰�"; @@ -129,14 +130,14 @@ 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.Options.UseFont = true; this.lbEnd.Cursor = System.Windows.Forms.Cursors.Hand; this.lbEnd.ImageAlignToText = DevExpress.XtraEditors.ImageAlignToText.RightCenter; this.lbEnd.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.last_16x16; - this.lbEnd.Location = new System.Drawing.Point(267, 2); + this.lbEnd.Location = new System.Drawing.Point(199, 2); + this.lbEnd.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.lbEnd.Name = "lbEnd"; - this.lbEnd.Size = new System.Drawing.Size(56, 28); + this.lbEnd.Size = new System.Drawing.Size(43, 22); this.lbEnd.StyleController = this.layoutControl1; this.lbEnd.TabIndex = 14; this.lbEnd.Tag = "last"; @@ -148,9 +149,10 @@ this.labelControl9.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.labelControl9.Location = new System.Drawing.Point(252, 2); + this.labelControl9.Location = new System.Drawing.Point(188, 2); + this.labelControl9.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.labelControl9.Name = "labelControl9"; - this.labelControl9.Size = new System.Drawing.Size(11, 28); + this.labelControl9.Size = new System.Drawing.Size(9, 22); this.labelControl9.StyleController = this.layoutControl1; this.labelControl9.TabIndex = 13; this.labelControl9.Text = "|"; @@ -160,15 +162,15 @@ 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.Options.UseFont = true; this.lbNextPage.Cursor = System.Windows.Forms.Cursors.Hand; this.lbNextPage.ImageAlignToText = DevExpress.XtraEditors.ImageAlignToText.RightCenter; this.lbNextPage.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.doublenext_16x16; - this.lbNextPage.Location = new System.Drawing.Point(172, 2); - this.lbNextPage.MaximumSize = new System.Drawing.Size(80, 0); + this.lbNextPage.Location = new System.Drawing.Point(128, 2); + this.lbNextPage.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.lbNextPage.MaximumSize = new System.Drawing.Size(60, 0); this.lbNextPage.Name = "lbNextPage"; - this.lbNextPage.Size = new System.Drawing.Size(76, 28); + this.lbNextPage.Size = new System.Drawing.Size(58, 22); this.lbNextPage.StyleController = this.layoutControl1; this.lbNextPage.TabIndex = 12; this.lbNextPage.Tag = "next"; @@ -180,9 +182,10 @@ this.labelControl6.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.labelControl6.Location = new System.Drawing.Point(157, 2); + this.labelControl6.Location = new System.Drawing.Point(117, 2); + this.labelControl6.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.labelControl6.Name = "labelControl6"; - this.labelControl6.Size = new System.Drawing.Size(11, 28); + this.labelControl6.Size = new System.Drawing.Size(9, 22); this.labelControl6.StyleController = this.layoutControl1; this.labelControl6.TabIndex = 10; this.labelControl6.Text = "|"; @@ -192,15 +195,15 @@ 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.Options.UseFont = true; this.lbPrePage.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; this.lbPrePage.Cursor = System.Windows.Forms.Cursors.Hand; this.lbPrePage.ImageAlignToText = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.lbPrePage.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.doubleprev_16x16; - this.lbPrePage.Location = new System.Drawing.Point(77, 2); + this.lbPrePage.Location = new System.Drawing.Point(57, 2); + this.lbPrePage.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.lbPrePage.Name = "lbPrePage"; - this.lbPrePage.Size = new System.Drawing.Size(76, 28); + this.lbPrePage.Size = new System.Drawing.Size(58, 22); this.lbPrePage.StyleController = this.layoutControl1; this.lbPrePage.TabIndex = 9; this.lbPrePage.Tag = "prv"; @@ -212,9 +215,10 @@ this.labelControl4.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.labelControl4.Location = new System.Drawing.Point(62, 2); + this.labelControl4.Location = new System.Drawing.Point(46, 2); + this.labelControl4.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.labelControl4.Name = "labelControl4"; - this.labelControl4.Size = new System.Drawing.Size(11, 28); + this.labelControl4.Size = new System.Drawing.Size(9, 22); this.labelControl4.StyleController = this.layoutControl1; this.labelControl4.TabIndex = 8; this.labelControl4.Text = "|"; @@ -224,14 +228,14 @@ 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.Options.UseFont = true; this.lbFirstPage.Cursor = System.Windows.Forms.Cursors.Hand; this.lbFirstPage.ImageAlignToText = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.lbFirstPage.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.first_16x16; - this.lbFirstPage.Location = new System.Drawing.Point(2, 2); + this.lbFirstPage.Location = new System.Drawing.Point(1, 2); + this.lbFirstPage.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.lbFirstPage.Name = "lbFirstPage"; - this.lbFirstPage.Size = new System.Drawing.Size(56, 28); + this.lbFirstPage.Size = new System.Drawing.Size(43, 22); this.lbFirstPage.StyleController = this.layoutControl1; this.lbFirstPage.TabIndex = 7; this.lbFirstPage.Tag = "first"; @@ -243,11 +247,11 @@ 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.Options.UseFont = true; - this.labelControl2.Location = new System.Drawing.Point(765, 2); + this.labelControl2.Location = new System.Drawing.Point(570, 2); + this.labelControl2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.labelControl2.Name = "labelControl2"; - this.labelControl2.Size = new System.Drawing.Size(77, 26); + this.labelControl2.Size = new System.Drawing.Size(59, 20); this.labelControl2.StyleController = this.layoutControl1; this.labelControl2.TabIndex = 4; this.labelControl2.Text = "姣忛〉鏄剧ず锛�"; @@ -258,10 +262,9 @@ | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); 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.Location = new System.Drawing.Point(631, 2); + this.cbxRowCount.Margin = new System.Windows.Forms.Padding(2, 5, 2, 0); this.cbxRowCount.Name = "cbxRowCount"; - 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)}); @@ -276,7 +279,7 @@ "800", "1000"}); this.cbxRowCount.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; - this.cbxRowCount.Size = new System.Drawing.Size(62, 28); + this.cbxRowCount.Size = new System.Drawing.Size(47, 20); this.cbxRowCount.StyleController = this.layoutControl1; this.cbxRowCount.TabIndex = 5; this.cbxRowCount.Tag = "rowcount"; @@ -286,11 +289,11 @@ 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.Options.UseFont = true; - this.labelControl1.Location = new System.Drawing.Point(357, 2); + this.labelControl1.Location = new System.Drawing.Point(266, 2); + this.labelControl1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.labelControl1.Name = "labelControl1"; - this.labelControl1.Size = new System.Drawing.Size(62, 26); + this.labelControl1.Size = new System.Drawing.Size(47, 20); this.labelControl1.StyleController = this.layoutControl1; this.labelControl1.TabIndex = 1; this.labelControl1.Text = "褰撳墠椤碉細"; @@ -300,14 +303,13 @@ this.tbxCurrentPage.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.tbxCurrentPage.Location = new System.Drawing.Point(423, 2); - this.tbxCurrentPage.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0); + this.tbxCurrentPage.Location = new System.Drawing.Point(315, 2); + this.tbxCurrentPage.Margin = new System.Windows.Forms.Padding(2, 5, 2, 0); this.tbxCurrentPage.Name = "tbxCurrentPage"; - 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.Size = new System.Drawing.Size(50, 20); this.tbxCurrentPage.StyleController = this.layoutControl1; this.tbxCurrentPage.TabIndex = 2; this.tbxCurrentPage.Tag = "current"; @@ -318,9 +320,10 @@ this.labelControl3.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.labelControl3.Location = new System.Drawing.Point(493, 2); + this.labelControl3.Location = new System.Drawing.Point(367, 2); + this.labelControl3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.labelControl3.Name = "labelControl3"; - this.labelControl3.Size = new System.Drawing.Size(8, 26); + this.labelControl3.Size = new System.Drawing.Size(7, 20); this.labelControl3.StyleController = this.layoutControl1; this.labelControl3.TabIndex = 6; this.labelControl3.Text = "/"; @@ -330,11 +333,11 @@ 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.Options.UseFont = true; - this.lbTotalPages.Location = new System.Drawing.Point(505, 2); + this.lbTotalPages.Location = new System.Drawing.Point(376, 2); + this.lbTotalPages.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.lbTotalPages.Name = "lbTotalPages"; - this.lbTotalPages.Size = new System.Drawing.Size(96, 26); + this.lbTotalPages.Size = new System.Drawing.Size(73, 20); this.lbTotalPages.StyleController = this.layoutControl1; this.lbTotalPages.TabIndex = 3; this.lbTotalPages.Text = "鎬婚〉鏁�"; @@ -364,17 +367,17 @@ this.layoutControlGroup1.Name = "Root"; this.layoutControlGroup1.OptionsItemText.TextToControlDistance = 4; this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); - this.layoutControlGroup1.Size = new System.Drawing.Size(954, 40); + this.layoutControlGroup1.Size = new System.Drawing.Size(716, 32); this.layoutControlGroup1.TextVisible = false; // // layoutControlItem8 // this.layoutControlItem8.Control = this.lbFirstPage; this.layoutControlItem8.Location = new System.Drawing.Point(0, 0); - this.layoutControlItem8.MaxSize = new System.Drawing.Size(60, 32); - this.layoutControlItem8.MinSize = new System.Drawing.Size(36, 32); + this.layoutControlItem8.MaxSize = new System.Drawing.Size(45, 26); + this.layoutControlItem8.MinSize = new System.Drawing.Size(27, 26); this.layoutControlItem8.Name = "layoutControlItem8"; - this.layoutControlItem8.Size = new System.Drawing.Size(60, 40); + this.layoutControlItem8.Size = new System.Drawing.Size(45, 32); this.layoutControlItem8.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem8.TextVisible = false; @@ -382,11 +385,11 @@ // layoutControlItem9 // this.layoutControlItem9.Control = this.labelControl4; - this.layoutControlItem9.Location = new System.Drawing.Point(60, 0); - this.layoutControlItem9.MaxSize = new System.Drawing.Size(15, 32); - this.layoutControlItem9.MinSize = new System.Drawing.Size(15, 32); + this.layoutControlItem9.Location = new System.Drawing.Point(45, 0); + this.layoutControlItem9.MaxSize = new System.Drawing.Size(11, 26); + this.layoutControlItem9.MinSize = new System.Drawing.Size(11, 26); this.layoutControlItem9.Name = "layoutControlItem9"; - this.layoutControlItem9.Size = new System.Drawing.Size(15, 40); + this.layoutControlItem9.Size = new System.Drawing.Size(11, 32); this.layoutControlItem9.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem9.TextVisible = false; @@ -394,11 +397,11 @@ // layoutControlItem10 // this.layoutControlItem10.Control = this.lbPrePage; - this.layoutControlItem10.Location = new System.Drawing.Point(75, 0); - this.layoutControlItem10.MaxSize = new System.Drawing.Size(80, 32); - this.layoutControlItem10.MinSize = new System.Drawing.Size(55, 32); + this.layoutControlItem10.Location = new System.Drawing.Point(56, 0); + this.layoutControlItem10.MaxSize = new System.Drawing.Size(60, 26); + this.layoutControlItem10.MinSize = new System.Drawing.Size(41, 26); this.layoutControlItem10.Name = "layoutControlItem10"; - this.layoutControlItem10.Size = new System.Drawing.Size(80, 40); + this.layoutControlItem10.Size = new System.Drawing.Size(60, 32); this.layoutControlItem10.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem10.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem10.TextVisible = false; @@ -406,11 +409,11 @@ // layoutControlItem11 // this.layoutControlItem11.Control = this.labelControl6; - this.layoutControlItem11.Location = new System.Drawing.Point(155, 0); - this.layoutControlItem11.MaxSize = new System.Drawing.Size(15, 32); - this.layoutControlItem11.MinSize = new System.Drawing.Size(15, 32); + this.layoutControlItem11.Location = new System.Drawing.Point(116, 0); + this.layoutControlItem11.MaxSize = new System.Drawing.Size(11, 26); + this.layoutControlItem11.MinSize = new System.Drawing.Size(11, 26); this.layoutControlItem11.Name = "layoutControlItem11"; - this.layoutControlItem11.Size = new System.Drawing.Size(15, 40); + this.layoutControlItem11.Size = new System.Drawing.Size(11, 32); this.layoutControlItem11.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem11.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem11.TextVisible = false; @@ -418,35 +421,37 @@ // layoutControlItem5 // this.layoutControlItem5.Control = this.labelControl1; - this.layoutControlItem5.Location = new System.Drawing.Point(355, 0); - this.layoutControlItem5.MaxSize = new System.Drawing.Size(66, 30); - this.layoutControlItem5.MinSize = new System.Drawing.Size(66, 30); + this.layoutControlItem5.Location = new System.Drawing.Point(265, 0); + this.layoutControlItem5.MaxSize = new System.Drawing.Size(49, 24); + this.layoutControlItem5.MinSize = new System.Drawing.Size(49, 24); this.layoutControlItem5.Name = "layoutControlItem5"; - this.layoutControlItem5.Size = new System.Drawing.Size(66, 40); + this.layoutControlItem5.Size = new System.Drawing.Size(49, 32); this.layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem5.TextVisible = false; + this.layoutControlItem5.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; // // layoutControlItem4 // this.layoutControlItem4.Control = this.tbxCurrentPage; - this.layoutControlItem4.Location = new System.Drawing.Point(421, 0); - this.layoutControlItem4.MaxSize = new System.Drawing.Size(70, 32); - this.layoutControlItem4.MinSize = new System.Drawing.Size(70, 32); + this.layoutControlItem4.Location = new System.Drawing.Point(314, 0); + this.layoutControlItem4.MaxSize = new System.Drawing.Size(52, 26); + this.layoutControlItem4.MinSize = new System.Drawing.Size(52, 26); this.layoutControlItem4.Name = "layoutControlItem4"; - this.layoutControlItem4.Size = new System.Drawing.Size(70, 40); + this.layoutControlItem4.Size = new System.Drawing.Size(52, 32); this.layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem4.TextVisible = false; + this.layoutControlItem4.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; // // layoutControlItem13 // this.layoutControlItem13.Control = this.lbNextPage; - this.layoutControlItem13.Location = new System.Drawing.Point(170, 0); - this.layoutControlItem13.MaxSize = new System.Drawing.Size(80, 32); - this.layoutControlItem13.MinSize = new System.Drawing.Size(55, 32); + this.layoutControlItem13.Location = new System.Drawing.Point(127, 0); + this.layoutControlItem13.MaxSize = new System.Drawing.Size(60, 26); + this.layoutControlItem13.MinSize = new System.Drawing.Size(41, 26); this.layoutControlItem13.Name = "layoutControlItem13"; - this.layoutControlItem13.Size = new System.Drawing.Size(80, 40); + this.layoutControlItem13.Size = new System.Drawing.Size(60, 32); this.layoutControlItem13.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem13.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem13.TextVisible = false; @@ -454,11 +459,11 @@ // layoutControlItem14 // this.layoutControlItem14.Control = this.labelControl9; - this.layoutControlItem14.Location = new System.Drawing.Point(250, 0); - this.layoutControlItem14.MaxSize = new System.Drawing.Size(15, 32); - this.layoutControlItem14.MinSize = new System.Drawing.Size(15, 32); + this.layoutControlItem14.Location = new System.Drawing.Point(187, 0); + this.layoutControlItem14.MaxSize = new System.Drawing.Size(11, 26); + this.layoutControlItem14.MinSize = new System.Drawing.Size(11, 26); this.layoutControlItem14.Name = "layoutControlItem14"; - this.layoutControlItem14.Size = new System.Drawing.Size(15, 40); + this.layoutControlItem14.Size = new System.Drawing.Size(11, 32); this.layoutControlItem14.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem14.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem14.TextVisible = false; @@ -466,11 +471,11 @@ // layoutControlItem15 // this.layoutControlItem15.Control = this.lbEnd; - this.layoutControlItem15.Location = new System.Drawing.Point(265, 0); - this.layoutControlItem15.MaxSize = new System.Drawing.Size(60, 32); - this.layoutControlItem15.MinSize = new System.Drawing.Size(36, 32); + this.layoutControlItem15.Location = new System.Drawing.Point(198, 0); + this.layoutControlItem15.MaxSize = new System.Drawing.Size(45, 26); + this.layoutControlItem15.MinSize = new System.Drawing.Size(27, 26); this.layoutControlItem15.Name = "layoutControlItem15"; - this.layoutControlItem15.Size = new System.Drawing.Size(60, 40); + this.layoutControlItem15.Size = new System.Drawing.Size(45, 32); this.layoutControlItem15.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem15.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem15.TextVisible = false; @@ -478,103 +483,109 @@ // emptySpaceItem3 // this.emptySpaceItem3.AllowHotTrack = false; - this.emptySpaceItem3.Location = new System.Drawing.Point(325, 0); - this.emptySpaceItem3.MaxSize = new System.Drawing.Size(30, 32); - this.emptySpaceItem3.MinSize = new System.Drawing.Size(30, 32); + this.emptySpaceItem3.Location = new System.Drawing.Point(243, 0); + this.emptySpaceItem3.MaxSize = new System.Drawing.Size(22, 26); + this.emptySpaceItem3.MinSize = new System.Drawing.Size(22, 26); this.emptySpaceItem3.Name = "emptySpaceItem3"; - this.emptySpaceItem3.Size = new System.Drawing.Size(30, 40); + this.emptySpaceItem3.Size = new System.Drawing.Size(22, 32); this.emptySpaceItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem4 // this.emptySpaceItem4.AllowHotTrack = false; - this.emptySpaceItem4.Location = new System.Drawing.Point(733, 0); - this.emptySpaceItem4.MaxSize = new System.Drawing.Size(30, 32); - this.emptySpaceItem4.MinSize = new System.Drawing.Size(30, 32); + this.emptySpaceItem4.Location = new System.Drawing.Point(547, 0); + this.emptySpaceItem4.MaxSize = new System.Drawing.Size(22, 26); + this.emptySpaceItem4.MinSize = new System.Drawing.Size(22, 26); this.emptySpaceItem4.Name = "emptySpaceItem4"; - this.emptySpaceItem4.Size = new System.Drawing.Size(30, 40); + this.emptySpaceItem4.Size = new System.Drawing.Size(22, 32); this.emptySpaceItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.emptySpaceItem4.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem7 // this.layoutControlItem7.Control = this.labelControl2; - this.layoutControlItem7.Location = new System.Drawing.Point(763, 0); - this.layoutControlItem7.MaxSize = new System.Drawing.Size(81, 30); - this.layoutControlItem7.MinSize = new System.Drawing.Size(81, 30); + this.layoutControlItem7.Location = new System.Drawing.Point(569, 0); + this.layoutControlItem7.MaxSize = new System.Drawing.Size(61, 24); + this.layoutControlItem7.MinSize = new System.Drawing.Size(61, 24); this.layoutControlItem7.Name = "layoutControlItem7"; - this.layoutControlItem7.Size = new System.Drawing.Size(81, 40); + this.layoutControlItem7.Size = new System.Drawing.Size(61, 32); this.layoutControlItem7.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem7.TextVisible = false; + this.layoutControlItem7.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; // // layoutControlItem6 // this.layoutControlItem6.Control = this.cbxRowCount; - this.layoutControlItem6.Location = new System.Drawing.Point(844, 0); - this.layoutControlItem6.MaxSize = new System.Drawing.Size(66, 32); - this.layoutControlItem6.MinSize = new System.Drawing.Size(66, 32); + this.layoutControlItem6.Location = new System.Drawing.Point(630, 0); + this.layoutControlItem6.MaxSize = new System.Drawing.Size(49, 26); + this.layoutControlItem6.MinSize = new System.Drawing.Size(49, 26); this.layoutControlItem6.Name = "layoutControlItem6"; - this.layoutControlItem6.Size = new System.Drawing.Size(110, 40); + this.layoutControlItem6.Size = new System.Drawing.Size(86, 32); this.layoutControlItem6.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem6.TextVisible = false; + this.layoutControlItem6.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; // // layoutControlItem3 // this.layoutControlItem3.Control = this.labelControl3; - this.layoutControlItem3.Location = new System.Drawing.Point(491, 0); - this.layoutControlItem3.MaxSize = new System.Drawing.Size(12, 30); - this.layoutControlItem3.MinSize = new System.Drawing.Size(12, 30); + this.layoutControlItem3.Location = new System.Drawing.Point(366, 0); + this.layoutControlItem3.MaxSize = new System.Drawing.Size(9, 24); + this.layoutControlItem3.MinSize = new System.Drawing.Size(9, 24); this.layoutControlItem3.Name = "layoutControlItem3"; - this.layoutControlItem3.Size = new System.Drawing.Size(12, 40); + this.layoutControlItem3.Size = new System.Drawing.Size(9, 32); this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem3.TextVisible = false; + this.layoutControlItem3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; // // layoutControlItem2 // this.layoutControlItem2.Control = this.lbTotalPages; - this.layoutControlItem2.Location = new System.Drawing.Point(503, 0); - this.layoutControlItem2.MaxSize = new System.Drawing.Size(100, 30); - this.layoutControlItem2.MinSize = new System.Drawing.Size(100, 30); + this.layoutControlItem2.Location = new System.Drawing.Point(375, 0); + this.layoutControlItem2.MaxSize = new System.Drawing.Size(75, 24); + this.layoutControlItem2.MinSize = new System.Drawing.Size(75, 24); this.layoutControlItem2.Name = "layoutControlItem2"; - this.layoutControlItem2.Size = new System.Drawing.Size(100, 40); + this.layoutControlItem2.Size = new System.Drawing.Size(75, 32); this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem2.TextVisible = false; + this.layoutControlItem2.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; // // layoutControlItem12 // this.layoutControlItem12.Control = this.lbTotalRows; - this.layoutControlItem12.Location = new System.Drawing.Point(633, 0); - this.layoutControlItem12.MaxSize = new System.Drawing.Size(100, 32); - this.layoutControlItem12.MinSize = new System.Drawing.Size(100, 32); + this.layoutControlItem12.Location = new System.Drawing.Point(472, 0); + this.layoutControlItem12.MaxSize = new System.Drawing.Size(75, 26); + this.layoutControlItem12.MinSize = new System.Drawing.Size(75, 26); this.layoutControlItem12.Name = "layoutControlItem12"; - this.layoutControlItem12.Size = new System.Drawing.Size(100, 40); + this.layoutControlItem12.Size = new System.Drawing.Size(75, 32); this.layoutControlItem12.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem12.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem12.TextVisible = false; + this.layoutControlItem12.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; // // emptySpaceItem1 // this.emptySpaceItem1.AllowHotTrack = false; - this.emptySpaceItem1.Location = new System.Drawing.Point(603, 0); - this.emptySpaceItem1.MaxSize = new System.Drawing.Size(30, 32); - this.emptySpaceItem1.MinSize = new System.Drawing.Size(30, 32); + this.emptySpaceItem1.Location = new System.Drawing.Point(450, 0); + this.emptySpaceItem1.MaxSize = new System.Drawing.Size(22, 26); + this.emptySpaceItem1.MinSize = new System.Drawing.Size(22, 26); this.emptySpaceItem1.Name = "emptySpaceItem1"; - this.emptySpaceItem1.Size = new System.Drawing.Size(30, 40); + this.emptySpaceItem1.Size = new System.Drawing.Size(22, 32); this.emptySpaceItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // // UcPageBar // - this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.layoutControl1); + this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.Name = "UcPageBar"; - this.Size = new System.Drawing.Size(954, 40); + this.Size = new System.Drawing.Size(716, 32); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.cbxRowCount.Properties)).EndInit(); -- Gitblit v1.9.3