From 5fc444fd4e3a7f94fed8c848211e52012d6c522f Mon Sep 17 00:00:00 2001
From: tx <123456>
Date: 星期一, 14 四月 2025 17:51:44 +0800
Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/DPump/Hydr/Desktop.V1.1

---
 WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_InitialRibbon.cs |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_InitialRibbon.cs b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_InitialRibbon.cs
index 37c5176..6a75352 100644
--- a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_InitialRibbon.cs
+++ b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_InitialRibbon.cs
@@ -84,6 +84,7 @@
 
         private System.Windows.Forms.RibbonCheckBox RbtnChk鎴潰18;
         private System.Windows.Forms.RibbonCheckBox RbtnChk鏍囨敞;
+        //private System.Windows.Forms.RibbonCheckBox RbtnChk鎴潰910;
 
         private System.Windows.Forms.RibbonButton Rbtn鏁版嵁瀵煎嚭XML;
         private System.Windows.Forms.RibbonButton Rbtn鏁版嵁瀵煎叆XML;
@@ -925,12 +926,32 @@
                 if (RbtnChk鎴潰18.Checked)
                 {
                     this._occDesign3dCtrl.SetAllSectionCurveVisible(true );
+                    this._occDesign3dCtrl.Invalidate(true);
                 }
                 else
                 {
                     this._occDesign3dCtrl.SetAllSectionCurveVisible(false);
+                    this._occDesign3dCtrl.Invalidate(true);
                 }
             };
+            //RbtnChk鎴潰910 = new System.Windows.Forms.RibbonCheckBox();
+            //RbtnChk鎴潰910.Checked = false ;
+            ////RbtnChk鎴潰18.Image = GlobalResource.BuildImage("circle-check.png", 40, 40);
+            //RbtnChk鎴潰910.Name = "RbtnChk鎴潰910";
+            //RbtnChk鎴潰910.Text = "鎴潰9銆�10";
+            //RbtnChk鎴潰910.Visible = true;
+            //RbtnChk鎴潰910.CheckBoxCheckChanged += (sender, e) => {
+            //    if (RbtnChk鎴潰910.Checked)
+            //    {
+            //        this._occDesign3dCtrl.SetAllSection910CurveVisible(true );
+            //        this._occDesign3dCtrl.Invalidate(true);
+            //    }
+            //    else
+            //    {
+            //        this._occDesign3dCtrl.SetAllSection910CurveVisible(false);
+            //        this._occDesign3dCtrl.Invalidate(true);
+            //    }
+            //};
 
             RbtnChk鏍囨敞 = new System.Windows.Forms.RibbonCheckBox();
             RbtnChk鏍囨敞.Checked = false;
@@ -941,10 +962,12 @@
                 if (!RbtnChk鏍囨敞.Checked)
                 {
                     this._occDesign2dCtrl.SetDimVisible(true);
+                    this._occDesign2dCtrl.Invalidate(true);
                 }
                 else
                 {
                     this._occDesign2dCtrl.SetDimVisible(false);
+                    this._occDesign2dCtrl.Invalidate(true);
                 }
             };
 
@@ -1011,6 +1034,7 @@
             ribbonPanel鏁版嵁瀵煎叆.Items.Add(Rbtn鏁版嵁瀵煎叆XML);
 
             ribbonPanel缁勪欢鏄剧ず.Items.Add(RbtnChk鎴潰18);
+            //ribbonPanel缁勪欢鏄剧ず.Items.Add(RbtnChk鎴潰910);
             ribbonPanel缁勪欢鏄剧ず.Items.Add(RbtnChk鏍囨敞);
 
             RGroup涓嬫媺妗�.Items.Add(RBox鍥惧眰);

--
Gitblit v1.9.3