protected override void Dispose(bool disposing) { if (tb != null && !tb.IsDisposed) { tb.Dispose(); } if (table != null && !table.IsDisposed) { table.Dispose(); } if (stack != null && !stack.IsDisposed) { stack.Dispose(); } base.Dispose(disposing); }