예제 #1
0
        private void installButton_Click(object sender, System.EventArgs e)
        {
            UpdateConfigurationFromForm(managerConfiguration);

            InstallProgress progress = new InstallProgress(this);

            DialogResult dialogResult = progress.ShowDialog();

            if (dialogResult == DialogResult.OK)
            {
                databaseInstalled = true;

                if (firstInstall)
                {
                    installButton.Visible = false;
                    closeButton.Visible   = true;
                }
            }
        }
예제 #2
0
        private void installButton_Click(object sender, System.EventArgs e)
        {
            UpdateConfigurationFromForm(managerConfiguration);

            InstallProgress progress = new InstallProgress(this);

            DialogResult dialogResult = progress.ShowDialog();

            if (dialogResult == DialogResult.OK)
            {
                databaseInstalled = true;

                if (firstInstall)
                {
                    installButton.Visible = false;
                    closeButton.Visible = true;
                }
            }
        }