Ejemplo n.º 1
0
        public TestUI( Config config )
        {
            InitializeComponent();

            this.config = config;
            Text        = query_count.ToString();
            runner      = new TestRunner( config, ReportFunction );
        }
Ejemplo n.º 2
0
        public TestRunner( Config config, TestEventHandler report_event )
        {
            this.config                         = config;
            this.report_event                   = report_event;

            worker.WorkerReportsProgress        = true;
            worker.WorkerSupportsCancellation   = true;
            worker.DoWork                       += new DoWorkEventHandler( DoWork );
            worker.ProgressChanged              += new ProgressChangedEventHandler( ProgressChanged );
        }