コード例 #1
0
 public ResultRow(HalfLivesForm form, HalfLifeCalculator.ResultRow halfLifeResultRow)
 {
     _form = form;
     _halfLifeResultRow = halfLifeResultRow;
     HalfLives          = new Dictionary <string, LinkValue <HalfLifeCalculator.ResultData> >();
     foreach (var resultDataEntry in _halfLifeResultRow.HalfLives)
     {
         var cohort = resultDataEntry.Key;
         HalfLives.Add(resultDataEntry.Key, new LinkValue <HalfLifeCalculator.ResultData>(resultDataEntry.Value,
                                                                                          (sender, args) => ShowHalfLifeForm(_halfLifeResultRow.Peptide, _halfLifeResultRow.ProteinName, cohort)
                                                                                          ));
     }
 }
コード例 #2
0
ファイル: TopographForm.cs プロジェクト: lgatto/proteowizard
 public void ShowHalfLivesForm()
 {
     HalfLivesForm halfLivesForm = new HalfLivesForm(Workspace);
     halfLivesForm.Show(dockPanel, DockState.Document);
 }
コード例 #3
0
        public void ShowHalfLivesForm()
        {
            HalfLivesForm halfLivesForm = new HalfLivesForm(Workspace);

            halfLivesForm.Show(dockPanel, DockState.Document);
        }
コード例 #4
0
ファイル: HalfLivesForm.cs プロジェクト: lgatto/proteowizard
 public ResultRow(HalfLivesForm form, HalfLifeCalculator.ResultRow halfLifeResultRow)
 {
     _form = form;
     _halfLifeResultRow = halfLifeResultRow;
     HalfLives = new Dictionary<string, LinkValue<HalfLifeCalculator.ResultData>>();
     foreach (var resultDataEntry in _halfLifeResultRow.HalfLives)
     {
         var cohort = resultDataEntry.Key;
         HalfLives.Add(resultDataEntry.Key, new LinkValue<HalfLifeCalculator.ResultData>(resultDataEntry.Value,
             (sender, args)=>ShowHalfLifeForm(_halfLifeResultRow.Peptide, _halfLifeResultRow.ProteinName, cohort)
             ));
     }
 }