namespace HStation.WinFrmUI.Xhs { public partial class ValveChoicePage : DevExpress.XtraEditors.XtraUserControl, IWizardPage { public ValveChoicePage() { InitializeComponent(); } /// /// 允许上一步 /// public bool AllowPrev { get { return true; } } /// /// 允许下一步 /// public bool AllowNext { get { return false; } } /// /// 允许取消 /// public bool AllowCancel { get { return true; } } /// /// 允许完成 /// public bool AllowComplete { get { return true; } } public event Action PageStateChangedEvent; public bool CanCancel() { return true; } public bool CanComplete() { return true; } public bool CanNext() { return false; } public bool CanPrev() { return true; } public void InitialPage(PumpMainChoiceViewModel t) { PageStateChangedEvent.Invoke(); } } }