コード例 #1
0
        public void ShowPeptideAnalyses()
        {
            var peptideComparisonsForm = Program.FindOpenForm <PeptideAnalysesForm>();

            if (peptideComparisonsForm != null)
            {
                RestoreAndActivate(peptideComparisonsForm);
                return;
            }

            peptideComparisonsForm = new PeptideAnalysesForm(Workspace);
            peptideComparisonsForm.Show(dockPanel, DockState.Document);
        }
コード例 #2
0
ファイル: PeptidesForm.cs プロジェクト: zrolfs/pwiz
        private void BtnAnalyzePeptidesOnClick(object sender, EventArgs e)
        {
            var oldCount = Workspace.PeptideAnalyses.Count;

            new AnalyzePeptidesForm(Workspace).Show(TopLevelControl);
            if (oldCount == Workspace.PeptideAnalyses.Count)
            {
                return;
            }
            var peptideAnalysesForm = Program.FindOpenForm <PeptideAnalysesForm>();

            if (peptideAnalysesForm != null)
            {
                peptideAnalysesForm.Activate();
                return;
            }
            peptideAnalysesForm = new PeptideAnalysesForm(Workspace);
            peptideAnalysesForm.Show(DockPanel, DockState.Document);
        }
コード例 #3
0
ファイル: TopographForm.cs プロジェクト: lgatto/proteowizard
        public void ShowPeptideAnalyses()
        {
            var peptideComparisonsForm = Program.FindOpenForm<PeptideAnalysesForm>();
            if (peptideComparisonsForm != null)
            {
                RestoreAndActivate(peptideComparisonsForm);
                return;
            }

            peptideComparisonsForm = new PeptideAnalysesForm(Workspace);
            peptideComparisonsForm.Show(dockPanel, DockState.Document);
        }
コード例 #4
0
 public PeptideAnalysisDeleteHandler(PeptideAnalysesForm form)
 {
     _form = form;
 }
コード例 #5
0
ファイル: PeptidesForm.cs プロジェクト: lgatto/proteowizard
 private void BtnAnalyzePeptidesOnClick(object sender, EventArgs e)
 {
     var oldCount = Workspace.PeptideAnalyses.Count;
     new AnalyzePeptidesForm(Workspace).Show(TopLevelControl);
     if (oldCount == Workspace.PeptideAnalyses.Count)
     {
         return;
     }
     var peptideAnalysesForm = Program.FindOpenForm<PeptideAnalysesForm>();
     if (peptideAnalysesForm != null)
     {
         peptideAnalysesForm.Activate();
         return;
     }
     peptideAnalysesForm = new PeptideAnalysesForm(Workspace);
     peptideAnalysesForm.Show(DockPanel, DockState.Document);
 }