コード例 #1
0
 void MyExperimentConfigurator_StartExperimentEvent(object sender, EventArgs e)
 {
     MyRunExperimentControl.Configure(m_imager);
     MyRunExperimentControl.InitBarcodeResetRadioButtons();
     MyRunExperimentControl.VM.ExpParams.experimentCurrentPlateNumber = 0;
     MyRunExperimentControl.VM.CurrentPlateNumberText = MyRunExperimentControl.VM.ExpParams.experimentCurrentPlateNumber.ToString();
     VM.ShowRunExperimentPanel = true;
 }
コード例 #2
0
        void MyExperimentConfigurator_StartExperimentEvent(object sender, EventArgs e)
        {
            Dispatcher.Invoke((Action)(() =>
            {
                MyRunExperimentControl.Configure(m_imager);
                MyRunExperimentControl.InitBarcodeResetRadioButtons();
                MyRunExperimentControl.VM.ExpParams.experimentCurrentPlateNumber = 0;
                MyRunExperimentControl.VM.CurrentPlateNumberText = MyRunExperimentControl.VM.ExpParams.experimentCurrentPlateNumber.ToString();
                VM.ShowRunExperimentPanel = true;
                MyRunExperimentControl.VM.EvalRunStatus();

                GlobalVars.Instance.Status = WGStatus.READY;

                MyRunExperimentControl.Run();
            }));
        }