Ejemplo n.º 1
0
        private void checkDBConnect()
        {
            DatabaseConnection connection = new DatabaseConnection();

            if (!connection.testConnection())
            {
                this.Close();
            }
        }