private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { var outputWindow = (ScriptConsole)sender; ScriptConsoleManager.RemoveFromOutputList(this); outputWindow.renderer.Navigating -= _navigateHandler; outputWindow._navigateHandler = null; }
private void Window_Loaded(object sender, System.EventArgs e) { var outputWindow = (ScriptConsole)sender; ScriptConsoleManager.AppendToOutputWindowList(this); }