private void miAddSeries_Click(object sender, EventArgs e) { AddSeriesForm asf = new AddSeriesForm(); asf.ShowDialog(); Session.Instance.CurrentTrial.Refresh(); LoadTrialsTreeView(); }
private void miEditSeries_Click(object sender, EventArgs e) { if (trwTrials.SelectedNode is SeriesTreeNode) { SeriesTreeNode stn = (SeriesTreeNode)trwTrials.SelectedNode; EnableForm(false); AddSeriesForm asf = new AddSeriesForm(stn.Seria); asf.ShowDialog(); Session.Instance.CurrentTrial.Refresh(); LoadTrialsTreeView(); EnableForm(true); } }