private static void SelectReplicate(ManageResultsDlg manageResultsDlg, int replicateIndex)
 {
     RunUI(() =>
     {
         manageResultsDlg.SelectedChromatograms = new[]
         {
             SkylineWindow.DocumentUI.Settings.MeasuredResults.Chromatograms[replicateIndex]
         };
     });
 }
Ejemplo n.º 2
0
 protected static void RenameReplicate(ManageResultsDlg manageResultsDlg, int replicateIndex, string newName)
 {
     RunUI(() => manageResultsDlg.SelectedChromatograms = new[]
     {
         SkylineWindow.DocumentUI.Settings.MeasuredResults.Chromatograms[replicateIndex]
     });
     RunDlg <RenameResultDlg>(manageResultsDlg.RenameResult, renameDlg =>
     {
         renameDlg.ReplicateName = newName;
         renameDlg.OkDialog();
     });
 }