Ejemplo n.º 1
0
        public Form1()
        {
            InitializeComponent();
            channelConfigurator      = new ChannelConfigurator();
            testProcess              = new TestProcess(channelConfigurator);
            chartBuilder             = new ChartBuilder(this);
            testProcess.DataUpdated += new TestProcess.DataUpdateHandler(UpdateGraph);
            testProcess.TestAborted += new TestProcess.TestAbortedHandler(TestAborted);

            dataGridViewContainer = new DataGridView[20] {
                dataGridView1, dataGridView2, dataGridView3, dataGridView4, dataGridView5, dataGridView6, dataGridView7, dataGridView8, dataGridView9, dataGridView10, dataGridView11, dataGridView12, dataGridView13, dataGridView14, dataGridView15, dataGridView16, dataGridView17, dataGridView18, dataGridView19, dataGridView20
            };
            labels = new Label[] { labelCH1, labelCH2, labelCH3, labelCH4, labelCH5, labelCH6, labelCH7, labelCH8, labelCH9, labelCH10, labelCH11, labelCH12, labelCH13, labelCH14, labelCH15, labelCH16, labelCH17, labelCH18, labelCH19, labelCH20 };
        }
Ejemplo n.º 2
0
 public TestProcess(ChannelConfigurator channelConfigurator)
 {
     this.channelConfigurator = channelConfigurator;
 }