public void SetReason(int FSN, string Comment, bool App)
        {
            QMSMSEntry SearchEntry = new QMSMSEntry();

            SearchEntry.FSN = FSN;
            int index = Entries.BinarySearch(SearchEntry, byFSN);

            Entries[index].Comment  = Comment;
            Entries[index].Approved = App;
        }
        public QMSMSList(MascotParser mp)
        {
            Entries = new List <QMSMSEntry>();
            QMSMSEntry Entry;

            for (int i = 0; i < mp.Spectra.Count; i++)
            {
                Entry          = new QMSMSEntry();
                Entry.Approved = true;
                Entry.ms       = mp.Spectra[i];
                Entry.Match    = null;
                Entry.FSN      = mp.Spectra[i].ScanNumber;
                Entries.Add(Entry);
            }
            byFSN = new QMSMSEntrybyFSN();
            Entries.Sort(byFSN);
        }