Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ModelWizardPage"/> class.
 /// </summary>
 /// <param name="parentForm">The parent form.</param>
 /// <param name="key">The key.</param>
 /// <param name="strategiesKey">The strategies key.</param>
 public ModelWizardPage(CandleWizardForm parentForm, string key, string strategiesKey)
     : base(parentForm, "Select a model template to initialize your project.",
            key, RepositoryManager.Instance.GetTemplateModelList())
 {
     _initialStrategy = Wizard.GetUserData <string>(strategiesKey);
     _strategiesKey   = strategiesKey;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StrategyWizardPage"/> class.
 /// </summary>
 /// <param name="parentForm">The parent form.</param>
 /// <param name="headerText">The header text.</param>
 /// <param name="key">The key.</param>
 /// <param name="data">The data.</param>
 protected StrategyWizardPage(CandleWizardForm parentForm, string headerText, string key, List <string> data)
     : base(parentForm)
 {
     Initialize(key, data);
     HeaderText = headerText;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StrategyWizardPage"/> class.
 /// </summary>
 /// <param name="parentForm">The parent form.</param>
 /// <param name="key">The key.</param>
 public StrategyWizardPage(CandleWizardForm parentForm, string key)
     : this(parentForm, "Select a strategies template to initialize your project.",
            key, RepositoryManager.Instance.GetStrategiesConfigurationList())
 {
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CandleWizardPage"/> class.
 /// </summary>
 /// <param name="parent">The parent.</param>
 public CandleWizardPage(CandleWizardForm parent)
 {
     _wizard = parent;
     Initialize();
 }