示例#1
0
 private void NextButton_Click(object sender, System.EventArgs e)
 {
     PanelDesc.WizardSteps next = PanelDesc.WizardSteps.ERROR;
     history.Add(CurrentStep);
     next = PanelDesc.Panel(CurrentStep).nextClicked();
     if (next == PanelDesc.WizardSteps.ERROR)
     {
         return;
     }
     ClearCurrentPanel();
     CurrentStep = next;
     DrawCurrentPanel();
 }
示例#2
0
 private void ClearCurrentPanel()
 {
     PanelDesc.Panel(CurrentStep).clearContents();
 }
示例#3
0
 private void DrawCurrentPanel()
 {
     PanelDesc.Panel(CurrentStep).drawContents();
 }