コード例 #1
0
        private void miAddSeries_Click(object sender, EventArgs e)
        {
            AddSeriesForm asf = new AddSeriesForm();

            asf.ShowDialog();
            Session.Instance.CurrentTrial.Refresh();
            LoadTrialsTreeView();
        }
コード例 #2
0
 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);
     }
 }