internal void InitializeToolWindowInternal(float dpiFactor = 0) { ToolWindowPane window = this.FindToolWindow(typeof(WarningList), 0, true); if ((null == window) || (null == window.Frame)) { throw new NotSupportedException(Resources.CanNotCreateWindow); } _validationOutput = (ValidationOutput)window.Window; if (dpiFactor != 0) { _validationOutput.Rescale(dpiFactor); } _toolWindowFrame = (IVsWindowFrame)window.Frame; ShowToolWindow(); }