protected override void Dispose(bool disposing) { if (!IsDisposed) { if (disposing) { _DB_Connection.Dispose(); if (components != null) { components.Dispose(); } } base.Dispose(disposing); } }
protected override void Dispose(bool disposing) { if (!IsDisposed) { if (disposing) { _DB_Connection.Dispose(); if (components != null) { components.Dispose(); } } try { System.IO.Directory.Delete(Classes.Settings.TempPath, true); } catch (System.IO.IOException) { } base.Dispose(disposing); } }