private void ValidateDatabase()
        {
            PostgreSQL postgres = new PostgreSQL();

            if (!postgres.IsInstalled) return;

            this.PostgreSQLStatusLabel.Text = @"PostgreSQL Server is installed.";
            this.WillBeCreatedLabel.Visible = true;
            this.ValidateDatabaseButton.Visible = true;
            this._invalidDb = true;
            this.InstallButton.Enabled = false;
        }
Esempio n. 2
0
        private void ValidateDatabase()
        {
            PostgreSQL postgres = new PostgreSQL();

            if (!postgres.IsInstalled)
            {
                return;
            }

            this.PostgreSQLStatusLabel.Text     = @"PostgreSQL Server is installed.";
            this.WillBeCreatedLabel.Visible     = true;
            this.ValidateDatabaseButton.Visible = true;
            this._invalidDb            = true;
            this.InstallButton.Enabled = false;
        }