Exemple #1
0
 public void Dispose()
 {
     _config.Dispose();
     _conn.Dispose();
     _config = null;
     _conn   = null;
 }
Exemple #2
0
 private void CloseT2()
 {
     config.Dispose();
     conn.Dispose();
     config        = null;
     conn          = null;
     textBox1.Text = "";
 }
Exemple #3
0
        public void Dispose()
        {
            if (_config != null)
            {
                _config.Dispose();
            }

            if (_conn != null)
            {
                _conn.Dispose();
            }
            _config = null;
            _conn   = null;
        }