コード例 #1
0
ファイル: ModelWizardPage.cs プロジェクト: malain/candle
 /// <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
ファイル: CandleWizardPage.cs プロジェクト: malain/candle
 /// <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();
 }