protected override void OnLoad(EventArgs e) { base.OnLoad(e); DataEntryTests tester = new DataEntryTests(); tester.TestTreeTally(); }
protected override void OnLoad(EventArgs e) { Cursor.Current = Cursors.WaitCursor; base.OnLoad(e); DataEntryTests tester = new DataEntryTests(); var outputWriter = new StringWriter(); tester.TestTreeTally(outputWriter); this.textBox1.Text = outputWriter.ToString(); Cursor.Current = Cursors.Default; }