Exemplo n.º 1
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;
        }
Exemplo 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;
        }