| | |
| | | } |
| | | |
| | | |
| | | public virtual void SetDimVisible(bool isVisible) |
| | | { |
| | | |
| | | } |
| | | |
| | | |
| | | protected void OnMouseDown(object sender, MouseEventArgs e) |
| | |
| | | { |
| | | var theSectionParam = bundle.ToSectionShapePara(i); |
| | | |
| | | double dGama_Left, dGama_Right, dH, dR_out, dBaseWidth, dBaseCircleRadius; |
| | | double dGama_Left, dGama_Right, dH, dR_out, dBaseWidth, dBaseCircleRadius; |
| | | dGama_Left = theSectionParam.Gama_Left; |
| | | dGama_Right = theSectionParam.Gama_Right; |
| | | dH = theSectionParam.H; |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// 显示/隐藏1-8断面 |
| | | /// </summary> |
| | | /// <param name="isVisible"></param> |
| | | public void SetAllSectionCurveVisible(bool isVisible) |
| | |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// 显示/隐藏9、10断面 |
| | | /// </summary> |
| | | /// <param name="isVisible"></param> |
| | | public void SetAllSection910CurveVisible(bool isVisible) |
| | | { |
| | | for (int i = 10; i >= 9; i--) |
| | | { |
| | | string wstrShapeNameI = string.Format("SectShape_{0}", i); |
| | | if (isVisible) |
| | | pDisplayView.showVoluteCurve(wstrShapeNameI); |
| | | else |
| | | pDisplayView.hideVoluteCurve(wstrShapeNameI); |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | /// <param name="sectIndex"></param> |