コード例 #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;
        }
コード例 #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;
        }