private void checkDBConnect()
        {
            DatabaseConnection connection = new DatabaseConnection();

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