/// <summary> /// Called when pane is closed. /// </summary> protected override void OnClose() { base.OnClose(); _control.Dispose(); _control = null; }
// Caching our output window pane //private IVsOutputWindowPane outputWindowPane = null; /// <summary> /// Constructor for ToolWindowPane. /// Initialization that depends on the package or that requires access /// to VS services should be done in OnToolWindowCreated. /// </summary> public MergeWIPane() : base(null) { Trace.WriteLine(String.Format(CultureInfo.CurrentCulture, "Entering constructor for class {0}.", this.GetType().Name)); // Creating the user control that will be displayed in the window _control = new MergeWIControl(); this.Caption = Utilities.AppTitle; this.BitmapResourceID = 700; this.BitmapIndex = 1; }