protected override void Dispose(bool disposing) { lock (this) { if (disposing) { if (components != null) { components.Dispose(); } if (_masterPane != null) { _masterPane.Dispose(); _masterPane = null; } } base.Dispose(disposing); } }