// // dispose // protected virtual void Dispose(bool disposing_cs) { if (!this.disposed_cs) { if (disposing_cs) { // // ----- call .dispose for managed objects if (cs != null) { cs.Dispose(); cs = null; } } // // ----- release unmanaged resources // } this.disposed_cs = true; }