Пример #1
0
        /// <summary>
        ///
        /// </summary>
        public void Start()
        {
            Form applicationForm = null;

            switch (startupMode)
            {
            case StartupMode.Normal:
                applicationForm = new SetupTvSettingsForm(debugOptions);
                break;

            case StartupMode.Wizard:
                applicationForm = new WizardForm(sectionsConfiguration);
                break;

            case StartupMode.DbCleanup:
                applicationForm = new SetupTvSettingsForm(debugOptions);
                break;
            }

            if (applicationForm != null)
            {
                Application.Run(applicationForm);
            }
        }
Пример #2
0
    /// <summary>
    /// 
    /// </summary>
    public void Start()
    {
      Form applicationForm = null;

      switch (startupMode)
      {
        case StartupMode.Normal:
          applicationForm = new SetupTvSettingsForm(debugOptions);
          break;

        case StartupMode.Wizard:
          applicationForm = new WizardForm(sectionsConfiguration);
          break;

        case StartupMode.DbCleanup:
          applicationForm = new SetupTvSettingsForm(debugOptions);
          break;
      }

      if (applicationForm != null)
      {
        Application.Run(applicationForm);
      }
    }