| | |
| | | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | if (!RbtnChk标注.Checked) |
| | | { |
| | | this._occDesign2dCtrl.SetDimVisible(true); |
| | | this._occDesign2dCtrl.Invalidate(true); |
| | | } |
| | | else |
| | | { |
| | | this._occDesign2dCtrl.SetDimVisible(false); |
| | | this._occDesign2dCtrl.Invalidate(true); |
| | | } |
| | | }; |
| | | |
| | |
| | | ribbonPanel数据导入.Items.Add(Rbtn数据导入XML); |
| | | |
| | | ribbonPanel组件显示.Items.Add(RbtnChk截面18); |
| | | //ribbonPanel组件显示.Items.Add(RbtnChk截面910); |
| | | ribbonPanel组件显示.Items.Add(RbtnChk标注); |
| | | |
| | | RGroup下拉框.Items.Add(RBox图层); |