private static void CloseAllCodeTalkFrames() { CodeTalkOptionsControl.CloseFrame(); AccessibilityToolbarWindowControl.CloseFrame(); AboutControl.CloseFrame(); CodeTalkOptionsControl.CloseFrame(); TalkpointToolWindowControl.CloseFrame(); GetSummaryToolWindowControl.CloseFrame(); }
/// <summary> /// Initializes a new instance of the <see cref="AccessibilityToolWindow"/> class. /// </summary> public AccessibilityToolWindow() : base(null) { this.Caption = "AccessibilityToolWindow"; // 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. this.windowControl = new AccessibilityToolbarWindowControl(); this.Content = this.windowControl; }