chenn
2025-04-11 ce0cdf82989d5fead5618d1988a7d1aba9746d57
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图层);