Ejemplo n.º 1
0
        public WizardForm(string sectionConfiguration)
        {
            wizardForm = this;
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // Set caption
            //
            wizardCaption = "MediaPortal Settings Wizard";

            //
            // Check if we got a sections file to read from, or if we should specify
            // the default sections
            //
            if (sectionConfiguration != String.Empty && System.IO.File.Exists(sectionConfiguration))
            {
                LoadSections(sectionConfiguration);
            }
        }
Ejemplo n.º 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);
            }
        }
Ejemplo n.º 3
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);
      }
    }
Ejemplo n.º 4
0
    public WizardForm(string sectionConfiguration)
    {
      wizardForm = this;
      //
      // Required for Windows Form Designer support
      //
      InitializeComponent();

      //
      // Set caption
      //
      wizardCaption = "MediaPortal Settings Wizard";

      //
      // Check if we got a sections file to read from, or if we should specify
      // the default sections
      //
      if (sectionConfiguration != String.Empty && System.IO.File.Exists(sectionConfiguration))
      {
        LoadSections(sectionConfiguration);
      }
    }