예제 #1
0
        private void checkDBConnect()
        {
            DatabaseConnection connection = new DatabaseConnection();

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