protected virtual void ShowPeptideInfo(IIdentifiedSpectrum mph) { var ratioFile = GetRatioFile(mph); if (ratioFile == null) { return; } try { if (this.peptideForm == null || this.peptideForm.IsDisposed) { this.peptideForm = option.CreateForm(); this.peptideForm.UpdateParent = UpdateFile; } this.peptideForm.Show(); this.peptideForm.SetSummaryFilename(ratioFile, mph); this.peptideForm.BringToFront(); } catch (Exception ex) { MessageBox.Show(this, ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }