/// <summary> /// Find mentions of the current vertex in the JM stdout. /// </summary> private void FindJMStdoutMentions() { LogViewer lv = new LogViewer(true, "JM on " + this.currentVertex); lv.Show(); var item = new BackgroundWorkItem<bool>( m => ScanJMStdout(this.currentVertex, this.Job.ManagerVertex.StdoutFile, lv), (c, b) => { }, "findStdout"); this.Queue(item); }
/// <summary> /// Load the file in the log viewer. /// </summary> /// <param name="sender">Unused.</param> /// <param name="e">Unused.</param> private void loadFileInViewerToolStripMenuItem_Click(object sender, EventArgs e) { LogViewer viewer = new LogViewer(); viewer.Show(); viewer.LoadFile(this.richtextBoxShownFile); }