From bd91721a4ae5b66356b9593ac8cd5c9ec90313c7 Mon Sep 17 00:00:00 2001
From: chenn <gu.beic@qq.com>
Date: 星期五, 28 三月 2025 18:06:09 +0800
Subject: [PATCH] 直线圆弧隐藏

---
 WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/ctrlSetOutflowParas.Designer.cs |    1 
 WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/ctrlSetOutflowParas.cs          |   74 ++++++++++++++++++------------------
 2 files changed, 38 insertions(+), 37 deletions(-)

diff --git "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowParas.Designer.cs" "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowParas.Designer.cs"
index e6b4420..cff0e21 100644
--- "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowParas.Designer.cs"
+++ "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowParas.Designer.cs"
@@ -147,6 +147,7 @@
             checkBox鍦嗗姬杩炴帴.TabIndex = 75;
             checkBox鍦嗗姬杩炴帴.Text = "鍦嗗姬杩炴帴";
             checkBox鍦嗗姬杩炴帴.UseVisualStyleBackColor = true;
+            checkBox鍦嗗姬杩炴帴.Visible = false;
             checkBox鍦嗗姬杩炴帴.CheckedChanged += checkBox鍦嗗姬杩炴帴_CheckedChanged;
             // 
             // btnNextStep
diff --git "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowParas.cs" "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowParas.cs"
index 68c531c..a916091 100644
--- "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowParas.cs"
+++ "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowParas.cs"
@@ -634,37 +634,37 @@
             if (comboBoxType.SelectedIndex == 0)
             {
                 _sharp_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowShapeStyle.涓績鍑哄彛;
-                checkBox鍦嗗姬杩炴帴.Enabled = true;
-                checkBox鍦嗗姬杩炴帴.Visible = true;
-                if (checkBox鍦嗗姬杩炴帴.Checked)
-                {
-                    _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鐩寸嚎鍦嗗姬;
-                }
-                else
-                {
-                    _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鏇茬嚎;
-                }
+                //checkBox鍦嗗姬杩炴帴.Enabled = true;
+                //checkBox鍦嗗姬杩炴帴.Visible = true;
+                //if (checkBox鍦嗗姬杩炴帴.Checked)
+                //{
+                //    _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鐩寸嚎鍦嗗姬;
+                //}
+                //else
+                //{
+                //    _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鏇茬嚎;
+                //}
             }
             else if (comboBoxType.SelectedIndex == 1)
             {
                 _sharp_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowShapeStyle.渚ч潰鍑哄彛;
-                checkBox鍦嗗姬杩炴帴.Enabled = true;
-                checkBox鍦嗗姬杩炴帴.Visible = true;
+                //checkBox鍦嗗姬杩炴帴.Enabled = true;
+                //checkBox鍦嗗姬杩炴帴.Visible = true;
                 _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鏇茬嚎;
-                if (checkBox鍦嗗姬杩炴帴.Checked)
-                {
-                    _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鐩寸嚎鍦嗗姬;
-                }
-                else
-                {
-                    _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鏇茬嚎;
-                }
+                //if (checkBox鍦嗗姬杩炴帴.Checked)
+                //{
+                //    _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鐩寸嚎鍦嗗姬;
+                //}
+                //else
+                //{
+                //    _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鏇茬嚎;
+                //}
               }
             else if (comboBoxType.SelectedIndex == 2)
             {
                 _sharp_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowShapeStyle.渚ч潰鍑哄彛_鐩寸嚎杩炴帴;
-                checkBox鍦嗗姬杩炴帴.Enabled = false;
-                checkBox鍦嗗姬杩炴帴.Visible = false;
+                //checkBox鍦嗗姬杩炴帴.Enabled = false;
+                //checkBox鍦嗗姬杩炴帴.Visible = false;
                 _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鏇茬嚎;
             }
             if (_isxml)
@@ -684,23 +684,23 @@
 
         private void checkBox鍦嗗姬杩炴帴_CheckedChanged(object sender, EventArgs e)
         {
-            if (!checkBox鍦嗗姬杩炴帴.Checked)
-            {
-                _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鏇茬嚎;
-            }
-            else
-            {
-                _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鐩寸嚎鍦嗗姬;
-            }
-            if (_isxml)
-            {
-                InitialOutflowStyle();
-                return;
-            }
+            //if (!checkBox鍦嗗姬杩炴帴.Checked)
+            //{
+            //    _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鏇茬嚎;
+            //}
+            //else
+            //{
+            //    _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鐩寸嚎鍦嗗姬;
+            //}
+            //if (_isxml)
+            //{
+            //    InitialOutflowStyle();
+            //    return;
+            //}
 
-            InitialOutflowStyle();
+            //InitialOutflowStyle();
 
-            RefreshModel();
+            //RefreshModel();
         }
     }
 }

--
Gitblit v1.9.3