public InstallPrompt()
        {
            InitializeDefaultParams();

            InitializeComponent();
            m_state = InstallerScreenState.DownloadOptions;
            m_preferenceControl.Location = new Point(12, 12);
            m_preferenceControl.Visible  = true;
        }
        private void nextButton_Click(object sender, EventArgs e)
        {
            switch (m_state)
            {
            case InstallerScreenState.DownloadOptions:
                m_state = InstallerScreenState.ModuleOptions;
                break;

            case InstallerScreenState.ModuleOptions:
                Program.setState(m_doParams);
                Program.setState(m_mdParams);
                this.Close();
                break;
            }
        }
 private void backButton_Click(object sender, EventArgs e)
 {
     m_state = InstallerScreenState.DownloadOptions;
 }