| | |
| | | /// <param name="next_step_id"></param> |
| | | private bool ChangeStep(long current_step_id, long next_step_id) |
| | | { |
| | | |
| | | |
| | | RbtnChk截面18.Visible = false; |
| | | if (current_step_id == this._stepTreeDockPanel.Step_ID_Hdr_Base_Info) |
| | | { |
| | | if (!SaveParaStep1()) |
| | |
| | | } |
| | | else if (current_step_id == this._stepTreeDockPanel.Step_ID_Outflow_Paras) |
| | | { |
| | | |
| | | if (!SaveParaStep3()) |
| | | return false; |
| | | } |
| | |
| | | this._occDesign2dCtrl.HideAll(); |
| | | this._occDesign3dCtrl.HideAll(); |
| | | } |
| | | else if (next_step_id == this._stepTreeDockPanel.Step_ID_Outflow_Paras) |
| | | { |
| | | RbtnChk截面18.Visible = true; |
| | | |
| | | this.RBtn后退.Enabled = true; |
| | | this.Rbtn前进.Enabled = true; |
| | | |
| | | this.Rbtn上一步.Enabled = true; |
| | | this.Rbtn下一步.Enabled = true; |
| | | this.Rbtn完成.Enabled = false; |
| | | } |
| | | |
| | | else if (next_step_id == this._stepTreeDockPanel.Step_ID_Thickness) |
| | | { |
| | | this.RBtn后退.Enabled = true; |