private void EditTracerDef(TracerDefData tracerDefData) { using (var dlg = new DefineLabelDialog(Workspace, tracerDefData)) { dlg.ShowDialog(this); } }
public void EditIsotopeLabels() { if (Workspace.GetTracerDefs().Count == 0) { using (var dialog = new DefineLabelDialog(Workspace, null)) { dialog.ShowDialog(this); } } else { using (var dialog = new ManageLabelsDialog(Workspace)) { dialog.ShowDialog(this); } } }