Exemplo n.º 1
0
        public WizardForm()
        {
            InitializeComponent();

            wizardMod = EditorService.Instance.QueryModule<WizardModule>();
        }
Exemplo n.º 2
0
 public void OnPageChanged(WizardModule mgr, int curPageNum)
 {
     if (mgr.IsFirstPage(curPageNum))
     {
         btnLast.Visible = false;
         btnNext.Text = "下一页";
     }
     else if (mgr.IsLastPage(curPageNum))
     {
         btnNext.Text = "完成";
     }
     else
     {
         btnLast.Visible = true;
         btnLast.Text = "上一页";
         btnNext.Visible = true;
         btnNext.Text = "下一页";
     }
 }