protected override void Dispose(bool disposing) { if (!this.IsDisposed) { if (disposing) { this.renderWindow = null; } } base.Dispose(disposing); }