private void pmiSplit_Click(object sender, EventArgs e)
        {
            var pep = GetPeptide();

            if (pep != null)
            {
                SrmSplitForm form = new SrmSplitForm();
                form.LeftPeptide = pep;
                form.ShowDialog();
            }
        }
        private void pmiSplit_Click(object sender, EventArgs e)
        {
            var pep = GetPeptide();

            if (pep != null)
            {
                SrmSplitForm form = new SrmSplitForm();
                form.LeftPeptide = pep;
                if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                {
                    SetCurrentResultModified();
                }
            }
        }