private static void ProcessHyperlinkCommand(string command) { GuiApp.MainWindow.StatusBar.LogWriter.WriteLine("Got command " + command); string[] args = command.Split(new char[] { ',' }); StackWindow stackWindow = null; switch (args[0]) { case "ShowBaseStacks": stackWindow = _baselineWindow; break; case "ShowStacks": stackWindow = _sourceWindow; break; } try { stackWindow.SetFocus(args[1]); stackWindow.CallersTab.IsSelected = true; stackWindow.Focus(); } catch (System.NullReferenceException) { GuiApp.MainWindow.StatusBar.LogWriter.WriteLine("Failed to find Stack Window. (Has it been closed?)"); } }