From b22f76d1a80169a1b124d86c61c24e8032344e27 Mon Sep 17 00:00:00 2001
From: yangyin <1850366751@qq.com>
Date: 星期五, 21 二月 2025 17:48:28 +0800
Subject: [PATCH] 修复bug

---
 测试参数.xls                                                         |    0 
 WinFrmUI/DPumpHydr.WinFrmUI.Volute/断面设计/ctrlSectionBundleInfo.cs |   10 ++++++++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\346\226\255\351\235\242\350\256\276\350\256\241/ctrlSectionBundleInfo.cs" "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\346\226\255\351\235\242\350\256\276\350\256\241/ctrlSectionBundleInfo.cs"
index d2934ee..90476a9 100644
--- "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\346\226\255\351\235\242\350\256\276\350\256\241/ctrlSectionBundleInfo.cs"
+++ "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\346\226\255\351\235\242\350\256\276\350\256\241/ctrlSectionBundleInfo.cs"
@@ -735,6 +735,16 @@
         {
             if (RBtn鐭╁舰.Checked)
             {
+                if(_sectionBundleInfo.GaMa_Left.All(x => x == 0))
+                {
+                    for (var sect_index = 1; sect_index <= 8; sect_index++)
+                    {
+                        var controlnameGama1 = $"skyTextBox鏂潰y1{sect_index}";
+                        SkyTextBox controly1 = this.Controls.Find(controlnameGama1, true).FirstOrDefault() as SkyTextBox;
+                        controly1.Enabled = false;
+                    }
+                        return;
+                }
                 //for (var sect_index = 1; sect_index <= 8; sect_index++)
                 //{
                 //    var controlnameGama1 = $"skyTextBox鏂潰y1{sect_index}";
diff --git "a/\346\265\213\350\257\225\345\217\202\346\225\260.xls" "b/\346\265\213\350\257\225\345\217\202\346\225\260.xls"
index 85d0d76..fc849eb 100644
--- "a/\346\265\213\350\257\225\345\217\202\346\225\260.xls"
+++ "b/\346\265\213\350\257\225\345\217\202\346\225\260.xls"
Binary files differ

--
Gitblit v1.9.3