public void Dispose() { _config.Dispose(); _conn.Dispose(); _config = null; _conn = null; }
private void CloseT2() { config.Dispose(); conn.Dispose(); config = null; conn = null; textBox1.Text = ""; }
public void Dispose() { if (_config != null) { _config.Dispose(); } if (_conn != null) { _conn.Dispose(); } _config = null; _conn = null; }