From c25ad1f3a62a9de62700cc8a16a886fe06733391 Mon Sep 17 00:00:00 2001 From: tangxu <tangxu76880903> Date: 星期四, 02 一月 2025 21:15:09 +0800 Subject: [PATCH] 参数风格 --- WinFrmUI/DPumpHydr.WinFrmUI.Volute/基本参数/ctrlHdrBaseInfo.Designer.cs | 70 ++++++++++++++++++++--------------- 1 files changed, 40 insertions(+), 30 deletions(-) diff --git "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\237\272\346\234\254\345\217\202\346\225\260/ctrlHdrBaseInfo.Designer.cs" "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\237\272\346\234\254\345\217\202\346\225\260/ctrlHdrBaseInfo.Designer.cs" index c6185d0..c852cc6 100644 --- "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\237\272\346\234\254\345\217\202\346\225\260/ctrlHdrBaseInfo.Designer.cs" +++ "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\237\272\346\234\254\345\217\202\346\225\260/ctrlHdrBaseInfo.Designer.cs" @@ -46,17 +46,18 @@ RBtn鐜瀷 = new RLT.Controls.RibbonRadioButton(); RBtn鍙岃湕澹冲瀷 = new RLT.Controls.RibbonRadioButton(); RBtn铻烘棆鍨� = new RLT.Controls.RibbonRadioButton(); - crownLabel4 = new RLT.Controls.CrownLabel(); metroToolTip绗竴姝ユ彁绀� = new RLT.Controls.MetroToolTip(); thunderGroupBox4 = new RLT.Controls.ThunderGroupBox(); skyLabel鍩哄渾瀹藉害 = new RLT.Controls.SkyLabel(); mTextBoxEdit鍩哄渾瀹藉害 = new RLT.Controls.MaterialTextBoxEdit(); skyLabel鍩哄渾鐩村緞 = new RLT.Controls.SkyLabel(); mTextBoxEdit鍩哄渾鐩村緞 = new RLT.Controls.MaterialTextBoxEdit(); + ribbonGroupBox1 = new RLT.Controls.RibbonGroupBox(); thunderGroupBox3.SuspendLayout(); thunderGroupBox2.SuspendLayout(); thunderGroupBox1.SuspendLayout(); thunderGroupBox4.SuspendLayout(); + ribbonGroupBox1.SuspendLayout(); SuspendLayout(); // // thunderGroupBox3 @@ -73,9 +74,9 @@ thunderGroupBox3.Controls.Add(mTextBoxEdit鍑哄彛鐩村緞); thunderGroupBox3.Font = new System.Drawing.Font("Tw Cen MT Condensed Extra Bold", 12F, System.Drawing.FontStyle.Bold); thunderGroupBox3.ForeColor = System.Drawing.Color.Black; - thunderGroupBox3.Location = new System.Drawing.Point(7, 364); + thunderGroupBox3.Location = new System.Drawing.Point(5, 383); thunderGroupBox3.Name = "thunderGroupBox3"; - thunderGroupBox3.Size = new System.Drawing.Size(311, 169); + thunderGroupBox3.Size = new System.Drawing.Size(310, 169); thunderGroupBox3.TabIndex = 18; thunderGroupBox3.Text = "鍙惰疆鍑犱綍鍙傛暟"; // @@ -196,9 +197,9 @@ thunderGroupBox2.Controls.Add(mTextBoxEdit鎬绘祦閲�); thunderGroupBox2.Font = new System.Drawing.Font("Tw Cen MT Condensed Extra Bold", 12F, System.Drawing.FontStyle.Bold); thunderGroupBox2.ForeColor = System.Drawing.Color.Black; - thunderGroupBox2.Location = new System.Drawing.Point(7, 128); + thunderGroupBox2.Location = new System.Drawing.Point(5, 144); thunderGroupBox2.Name = "thunderGroupBox2"; - thunderGroupBox2.Size = new System.Drawing.Size(311, 232); + thunderGroupBox2.Size = new System.Drawing.Size(310, 232); thunderGroupBox2.TabIndex = 17; thunderGroupBox2.Text = "璁捐鍙傛暟"; // @@ -288,7 +289,7 @@ RBtn鍙屽惛娉�.CompositingQualityType = System.Drawing.Drawing2D.CompositingQuality.HighQuality; RBtn鍙屽惛娉�.Font = new System.Drawing.Font("Tw Cen MT Condensed Extra Bold", 10F, System.Drawing.FontStyle.Bold); RBtn鍙屽惛娉�.ForeColor = System.Drawing.Color.FromArgb(40, 40, 40); - RBtn鍙屽惛娉�.Location = new System.Drawing.Point(157, 6); + RBtn鍙屽惛娉�.Location = new System.Drawing.Point(157, 5); RBtn鍙屽惛娉�.Name = "RBtn鍙屽惛娉�"; RBtn鍙屽惛娉�.Size = new System.Drawing.Size(133, 16); RBtn鍙屽惛娉�.SmoothingType = System.Drawing.Drawing2D.SmoothingMode.HighQuality; @@ -361,7 +362,7 @@ mTextBoxEdit鎬绘祦閲�.SelectionLength = 0; mTextBoxEdit鎬绘祦閲�.SelectionStart = 0; mTextBoxEdit鎬绘祦閲�.ShortcutsEnabled = true; - mTextBoxEdit鎬绘祦閲�.Size = new System.Drawing.Size(281, 48); + mTextBoxEdit鎬绘祦閲�.Size = new System.Drawing.Size(277, 48); mTextBoxEdit鎬绘祦閲�.TabIndex = 3; mTextBoxEdit鎬绘祦閲�.TabStop = false; mTextBoxEdit鎬绘祦閲�.Text = "璇疯緭鍏ユ�绘祦閲�"; @@ -375,7 +376,6 @@ // // thunderGroupBox1 // - thunderGroupBox1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right; thunderGroupBox1.BackColor = System.Drawing.Color.Transparent; thunderGroupBox1.BodyColorA = System.Drawing.Color.Silver; thunderGroupBox1.BodyColorB = System.Drawing.Color.DarkGray; @@ -387,9 +387,9 @@ thunderGroupBox1.Controls.Add(RBtn铻烘棆鍨�); thunderGroupBox1.Font = new System.Drawing.Font("Tw Cen MT Condensed Extra Bold", 12F, System.Drawing.FontStyle.Bold); thunderGroupBox1.ForeColor = System.Drawing.Color.Black; - thunderGroupBox1.Location = new System.Drawing.Point(7, 25); + thunderGroupBox1.Location = new System.Drawing.Point(5, 40); thunderGroupBox1.Name = "thunderGroupBox1"; - thunderGroupBox1.Size = new System.Drawing.Size(311, 100); + thunderGroupBox1.Size = new System.Drawing.Size(310, 100); thunderGroupBox1.TabIndex = 16; thunderGroupBox1.Text = "绫诲瀷"; // @@ -477,17 +477,6 @@ RBtn铻烘棆鍨�.Text = "铻烘棆鍨�"; RBtn铻烘棆鍨�.TextRenderingType = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit; // - // crownLabel4 - // - crownLabel4.AutoSize = true; - crownLabel4.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold); - crownLabel4.ForeColor = System.Drawing.Color.Black; - crownLabel4.Location = new System.Drawing.Point(20, 0); - crownLabel4.Name = "crownLabel4"; - crownLabel4.Size = new System.Drawing.Size(170, 22); - crownLabel4.TabIndex = 15; - crownLabel4.Text = "绗竴姝ワ細杈撳叆鍩烘湰鍙傛暟"; - // // metroToolTip绗竴姝ユ彁绀� // metroToolTip绗竴姝ユ彁绀�.BackColor = System.Drawing.Color.White; @@ -513,9 +502,9 @@ thunderGroupBox4.Controls.Add(mTextBoxEdit鍩哄渾鐩村緞); thunderGroupBox4.Font = new System.Drawing.Font("Tw Cen MT Condensed Extra Bold", 12F, System.Drawing.FontStyle.Bold); thunderGroupBox4.ForeColor = System.Drawing.Color.Black; - thunderGroupBox4.Location = new System.Drawing.Point(7, 537); + thunderGroupBox4.Location = new System.Drawing.Point(5, 555); thunderGroupBox4.Name = "thunderGroupBox4"; - thunderGroupBox4.Size = new System.Drawing.Size(312, 172); + thunderGroupBox4.Size = new System.Drawing.Size(310, 172); thunderGroupBox4.TabIndex = 20; thunderGroupBox4.Text = "铚楀3鍑犱綍鍙傛暟"; // @@ -613,16 +602,37 @@ mTextBoxEdit鍩哄渾鐩村緞.UseAccent = false; mTextBoxEdit鍩哄渾鐩村緞.UseSystemPasswordChar = false; // + // ribbonGroupBox1 + // + ribbonGroupBox1.BackColor = System.Drawing.Color.Transparent; + ribbonGroupBox1.BaseColor = System.Drawing.Color.Transparent; + ribbonGroupBox1.BorderColorA = System.Drawing.Color.FromArgb(143, 143, 143); + ribbonGroupBox1.BorderColorB = System.Drawing.Color.FromArgb(174, 178, 172); + ribbonGroupBox1.BorderColorC = System.Drawing.Color.FromArgb(194, 192, 200); + ribbonGroupBox1.CompositingQualityType = System.Drawing.Drawing2D.CompositingQuality.HighQuality; + ribbonGroupBox1.Controls.Add(thunderGroupBox1); + ribbonGroupBox1.Controls.Add(thunderGroupBox4); + ribbonGroupBox1.Controls.Add(thunderGroupBox2); + ribbonGroupBox1.Controls.Add(thunderGroupBox3); + ribbonGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill; + ribbonGroupBox1.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); + ribbonGroupBox1.ForeColor = System.Drawing.Color.Black; + ribbonGroupBox1.LineColorA = System.Drawing.Color.FromArgb(126, 126, 126); + ribbonGroupBox1.LineColorB = System.Drawing.Color.FromArgb(126, 126, 126); + ribbonGroupBox1.Location = new System.Drawing.Point(0, 0); + ribbonGroupBox1.Name = "ribbonGroupBox1"; + ribbonGroupBox1.Size = new System.Drawing.Size(326, 786); + ribbonGroupBox1.SmoothingType = System.Drawing.Drawing2D.SmoothingMode.HighQuality; + ribbonGroupBox1.TabIndex = 21; + ribbonGroupBox1.Text = "杈撳叆鍩烘湰鍙傛暟"; + ribbonGroupBox1.TitleHeight = 30; + // // ctrlHdrBaseInfo // AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; BackColor = System.Drawing.SystemColors.ControlLight; - Controls.Add(thunderGroupBox4); - Controls.Add(thunderGroupBox3); - Controls.Add(thunderGroupBox2); - Controls.Add(thunderGroupBox1); - Controls.Add(crownLabel4); + Controls.Add(ribbonGroupBox1); Margin = new System.Windows.Forms.Padding(4); Name = "ctrlHdrBaseInfo"; Size = new System.Drawing.Size(326, 786); @@ -633,8 +643,8 @@ thunderGroupBox1.ResumeLayout(false); thunderGroupBox4.ResumeLayout(false); thunderGroupBox4.PerformLayout(); + ribbonGroupBox1.ResumeLayout(false); ResumeLayout(false); - PerformLayout(); } #endregion @@ -653,7 +663,6 @@ private RLT.Controls.RibbonRadioButton RBtn鐜瀷; private RLT.Controls.RibbonRadioButton RBtn鍙岃湕澹冲瀷; private RLT.Controls.RibbonRadioButton RBtn铻烘棆鍨�; - private RLT.Controls.CrownLabel crownLabel4; private RLT.Controls.MetroToolTip metroToolTip绗竴姝ユ彁绀�; private RLT.Controls.SkyLabel skyLabel鍑哄彛瀹藉害; private RLT.Controls.SkyLabel skyLabel鍑哄彛鐩村緞; @@ -665,5 +674,6 @@ private RLT.Controls.MaterialTextBoxEdit mTextBoxEdit鍩哄渾瀹藉害; private RLT.Controls.SkyLabel skyLabel鍩哄渾鐩村緞; private RLT.Controls.MaterialTextBoxEdit mTextBoxEdit鍩哄渾鐩村緞; + private RLT.Controls.RibbonGroupBox ribbonGroupBox1; } } -- Gitblit v1.9.3