private void listErrors_DoubleClick(object sender, EventArgs e) { if (this.listErrors.FocusedItem == null) { return; } string src = this.listErrors.FocusedItem.Tag as string; if (String.IsNullOrWhiteSpace(src)) { return; } if ((this.ParseTester == null) || this.ParseTester.IsDisposed) { this.ParseTester = new ParseTester(); } this.ParseTester.txtSource.Text = src; this.ParseTester.Show(); }
private void buttonParseTester_Click(object sender, EventArgs e) { ParseTester tester = new ParseTester(); tester.Show(); }
public ErrorSink(ParseTester tester) { this.Tester = tester; }
private void listErrors_DoubleClick(object sender, EventArgs e) { if (this.listErrors.FocusedItem == null) return; string src = this.listErrors.FocusedItem.Tag as string; if (String.IsNullOrWhiteSpace(src)) return; if ((this.ParseTester == null) || this.ParseTester.IsDisposed) this.ParseTester = new ParseTester(); this.ParseTester.txtSource.Text = src; this.ParseTester.Show(); }