Free cookie consent management tool by TermsFeed Policy Generator

source: branches/DataAnalysisService/HeuristicLab.ExperimentGeneration.DataAnalysis.Wizard/3.3/WizardPage.cs @ 7908

Last change on this file since 7908 was 7808, checked in by spimming, 13 years ago

#1807:

  • experiment wizard initial commit
  • plugin file frames added
  • wizard renamed
File size: 1.5 KB
Line 
1using System.ComponentModel;
2using System.Windows.Forms;
3
4namespace HeuristicLab.ExperimentGeneration.DataAnalysis.Wizard {
5  public partial class WizardPage : UserControl {
6    public WizardPage() {
7      InitializeComponent();
8    }
9
10    public WizardBase ParentWizard {
11      get { return (WizardBase)ParentForm; }
12    }
13
14    protected void SetWizardButton(WizardButtons button) {
15      ParentWizard.SetWizardButton(button);
16    }
17
18    protected void SetCommitButtonText(string buttonText) {
19      ParentWizard.SetButtonText(WizardButtons.Commit, buttonText);
20    }
21
22    public event CancelEventHandler SetActive;
23    public virtual void OnSetActive(CancelEventArgs e) {
24      if (SetActive != null)
25        SetActive(this, e);
26    }
27
28    public event CancelEventHandler QueryCancel;
29    public virtual void OnQueryCancel(CancelEventArgs e) {
30      if (QueryCancel != null) {
31        QueryCancel(this, e);
32      }
33    }
34
35    public event CancelEventHandler WizardCommit;
36    public virtual void OnWizardCommit(CancelEventArgs e) {
37      if (WizardCommit != null)
38        WizardCommit(this, e);
39    }
40
41    public event WizardPageEventHandler WizardNext;
42    public virtual void OnWizardNext(WizardPageEventArgs e) {
43      if (WizardNext != null)
44        WizardNext(this, e);
45    }
46
47    public event WizardPageEventHandler WizardBack;
48    public virtual void OnWizardBack(WizardPageEventArgs e) {
49      if (WizardBack != null)
50        WizardBack(this, e);
51    }
52
53
54  }
55}
Note: See TracBrowser for help on using the repository browser.