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/出水设计/ctrlSetOutflowType.Designer.cs | 51 +++++++++++++++++++++++++++++++-------------------- 1 files changed, 31 insertions(+), 20 deletions(-) diff --git "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowType.Designer.cs" "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowType.Designer.cs" index e748c4c..c794e16 100644 --- "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowType.Designer.cs" +++ "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowType.Designer.cs" @@ -29,12 +29,13 @@ private void InitializeComponent() { metroTile鍑哄彛鍥剧墖 = new RLT.Controls.MetroTile(); - crownLabel4 = new RLT.Controls.CrownLabel(); thunderGroupBox1 = new RLT.Controls.ThunderGroupBox(); RBtn渚ч潰鍑哄彛鐩寸嚎 = new RLT.Controls.RibbonRadioButton(); RBtn涓績鍑哄彛 = new RLT.Controls.RibbonRadioButton(); RBtn渚ч潰鍑哄彛鏇茬嚎 = new RLT.Controls.RibbonRadioButton(); + ribbonGroupBox1 = new RLT.Controls.RibbonGroupBox(); thunderGroupBox1.SuspendLayout(); + ribbonGroupBox1.SuspendLayout(); SuspendLayout(); // // metroTile鍑哄彛鍥剧墖 @@ -47,7 +48,7 @@ metroTile鍑哄彛鍥剧墖.HoverColor = System.Drawing.Color.FromArgb(65, 177, 225); metroTile鍑哄彛鍥剧墖.HoverTextColor = System.Drawing.Color.White; metroTile鍑哄彛鍥剧墖.IsDerivedStyle = true; - metroTile鍑哄彛鍥剧墖.Location = new System.Drawing.Point(68, 33); + metroTile鍑哄彛鍥剧墖.Location = new System.Drawing.Point(63, 44); metroTile鍑哄彛鍥剧墖.Name = "metroTile鍑哄彛鍥剧墖"; metroTile鍑哄彛鍥剧墖.NormalBorderColor = System.Drawing.Color.FromArgb(65, 177, 225); metroTile鍑哄彛鍥剧墖.NormalColor = System.Drawing.Color.FromArgb(65, 177, 225); @@ -63,17 +64,6 @@ metroTile鍑哄彛鍥剧墖.ThemeName = "MetroLight"; metroTile鍑哄彛鍥剧墖.TileAlign = RLT.Enum.Metro.TileAlign.Topleft; // - // 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(5, 8); - crownLabel4.Name = "crownLabel4"; - crownLabel4.Size = new System.Drawing.Size(90, 22); - crownLabel4.TabIndex = 25; - crownLabel4.Text = "鎵╂暎绠$被鍨�"; - // // thunderGroupBox1 // thunderGroupBox1.BackColor = System.Drawing.SystemColors.Control; @@ -86,9 +76,9 @@ thunderGroupBox1.Controls.Add(RBtn渚ч潰鍑哄彛鏇茬嚎); thunderGroupBox1.Font = new System.Drawing.Font("Tw Cen MT Condensed Extra Bold", 10F, System.Drawing.FontStyle.Bold); thunderGroupBox1.ForeColor = System.Drawing.Color.Black; - thunderGroupBox1.Location = new System.Drawing.Point(10, 225); + thunderGroupBox1.Location = new System.Drawing.Point(17, 236); thunderGroupBox1.Name = "thunderGroupBox1"; - thunderGroupBox1.Size = new System.Drawing.Size(308, 112); + thunderGroupBox1.Size = new System.Drawing.Size(278, 112); thunderGroupBox1.TabIndex = 26; thunderGroupBox1.Text = "閫夋嫨鍑哄彛绫诲瀷"; // @@ -155,29 +145,50 @@ RBtn渚ч潰鍑哄彛鏇茬嚎.TextRenderingType = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit; RBtn渚ч潰鍑哄彛鏇茬嚎.CheckedChanged += RBtn渚ч潰鍑哄彛鏇茬嚎_CheckedChanged; // + // 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(metroTile鍑哄彛鍥剧墖); + ribbonGroupBox1.Controls.Add(thunderGroupBox1); + 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(325, 784); + ribbonGroupBox1.SmoothingType = System.Drawing.Drawing2D.SmoothingMode.HighQuality; + ribbonGroupBox1.TabIndex = 27; + ribbonGroupBox1.Text = "閫夋嫨鍑哄彛绫诲瀷"; + ribbonGroupBox1.TitleHeight = 30; + // // ctrlSetOutflowType // AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; BackColor = System.Drawing.SystemColors.ControlLight; - Controls.Add(thunderGroupBox1); - Controls.Add(metroTile鍑哄彛鍥剧墖); - Controls.Add(crownLabel4); + Controls.Add(ribbonGroupBox1); Margin = new System.Windows.Forms.Padding(4); Name = "ctrlSetOutflowType"; Size = new System.Drawing.Size(325, 784); thunderGroupBox1.ResumeLayout(false); + ribbonGroupBox1.ResumeLayout(false); ResumeLayout(false); - PerformLayout(); } #endregion private RLT.Controls.MetroTile metroTile鍑哄彛鍥剧墖; - private RLT.Controls.CrownLabel crownLabel4; private RLT.Controls.ThunderGroupBox thunderGroupBox1; private RLT.Controls.RibbonRadioButton RBtn渚ч潰鍑哄彛鐩寸嚎; private RLT.Controls.RibbonRadioButton RBtn涓績鍑哄彛; private RLT.Controls.RibbonRadioButton RBtn渚ч潰鍑哄彛鏇茬嚎; + private RLT.Controls.RibbonGroupBox ribbonGroupBox1; } } -- Gitblit v1.9.3