private void LoadBatchExperimentTemplateButtonClick(object sender, EventArgs e) { BatchExperiment be = BatchExperimentSetupWindow.LoadBatchExperiment(); if (be == null) { return; } SetBatchExperiment(be); }
private void BatchExperimentButtonClick(object sender, EventArgs e) { BatchExperimentSetupWindow bsw = new BatchExperimentSetupWindow(); if (bsw.ShowDialog() != DialogResult.OK) { return; } BatchExperimentWindow bew = new BatchExperimentWindow(); bew.SetBatchExperiment(bsw.GetConfiguredBatchExperiment()); bew.ShowDialog(); }