コード例 #1
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            DataEntryTests tester = new DataEntryTests();

            tester.TestTreeTally();
        }
コード例 #2
0
        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;
        }