/// <summary> /// Initializes a new instance of the <see cref="IntelliFindWindow"/> class. /// </summary> public IntelliFindWindow() : base(null) { this.Caption = "IntelliFind"; // This is the user control hosted by the tool window; Note that, even if this class implements IDisposable, // we are not calling Dispose on this object. This is because ToolWindowPane calls Dispose on // the object returned by the Content property. _intelliFindControl = new IntelliFindControl(); this.Content = _intelliFindControl; }
/// <summary> /// Initializes a new instance of the <see cref="IntelliFindWindow"/> class. /// </summary> public IntelliFindWindow() : base(null) { this.Caption = "IntelliFind"; // This is the user control hosted by the tool window; Note that, even if this class implements IDisposable, // we are not calling Dispose on this object. This is because ToolWindowPane calls Dispose on // the object returned by the Content property. _intelliFindControl = new IntelliFindControl(); this.Content = _intelliFindControl; }