private void BackgroundBtn_Click(object sender, EventArgs e) { IDDBackgroundSetup f = new IDDBackgroundSetup(ah.det, meas.Background); if (f.ShowDialog() == DialogResult.OK) { f.GetBP.CopyTo(meas.Background); } }
private void MaintainBackgroundSetupClick(object sender, RoutedEventArgs e) { IDDBackgroundSetup f = new IDDBackgroundSetup(); f.ShowDialog(); }