public void ShowWindow() { if (_errorWindow == null || _errorWindow.IsDisposed) { _errorWindow = new ScriptErrorWindow(); } _errorWindow.Show(); }