using System; using System.Collections.Generic; using System.Windows.Forms; using System.IO; using System.Text; using System.Drawing; namespace DPumpHydr.WinFrmUI.Impeller { public partial class MainViewPage : TabbedMdiXtraForm { public MainViewPage() { InitializeComponent(); } ctrlHdrBaseInfo _ctrlHdrBaseInfo = null; ctrlGeomBaseInfo _ctrlGeomBaseInfo = null; ctrlCoverPlateGeom _ctrlCoverPlateGeom = null; ctrlCoverPlateLink _ctrlCoverPlateLink = null; ctrlCoverPlateSect _ctrlCoverPlateSect = null; ctrlSelectTypeAndStreamLineNum _ctrlSelectTypeAndStreamLineNum = null; ctrlInletCurveInfo _ctrlInletCurveInfo = null; public void InitWindow() { InitialStepNodes(); SetParasCtrl(Step_ID_Hdr_Base_Info); _currentStepID = Step_ID_Hdr_Base_Info; } #region 步骤操作 //页面跳转前 bool stepTreeListCtrl1_BeforeStepNodeChangedEvent(DPumpHydr.WinFrmUI.Impeller.TreeStepNode CurrentStepNode, DPumpHydr.WinFrmUI.Impeller.TreeStepNode NextStepNode) { return true; } //页面跳转后 void stepTreeListCtrl1_SelectedStepNodeChangedEvent(DPumpHydr.WinFrmUI.Impeller.TreeStepNode BeforeStepNode, DPumpHydr.WinFrmUI.Impeller.TreeStepNode CurrentStepNode) { //if (CurrentStepNode.Name == "StepHydParas") //{ // DPumpHydr.WinFrmUI.Impeller.frmHdrBaseInfo frm = new DPumpHydr.WinFrmUI.Impeller.frmHdrBaseInfo(); // frm.Show(); //} //if (CurrentStepNode.Name == "StepGeomParas") //{ // DPumpHydr.WinFrmUI.Impeller.frmGeomBaseInfo frm = new DPumpHydr.WinFrmUI.Impeller.frmGeomBaseInfo(); // frm.Show(); //} } #endregion protected string GetTranslateString(string text) { return text; } } }