Пример #1
0
 private void btnReader_Click(object sender, EventArgs e)
 {
     RawReader raw = new RawReader(txtFileName.Text, enumRawDataType.raw);
     for (int i =1; i < 2000; i++)
     {
         MSScan s = raw.ReadScan(i);
         Console.WriteLine(i.ToString());
     }
     //ReadScan(Convert.ToInt32(txtScanNo.Text));
     raw = null;
     GC.Collect();
 }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            //if (openFileDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                raw = new COL.MassLib.RawReader(@"d:\Fetuin_400ng_ETD_100RA_062212.raw", "raw");

                //for (int i = 100; i <= 110; i++)
                //{

                //        raw.ReadScan(i);
                //        Console.WriteLine(i.ToString());


                //}
                Thread ReadThread = new Thread(Read);
                //backgroundWorker1.RunWorkerAsync();
                //COL.MassLib.GetHCDInfo gHCD = new COL.MassLib.GetHCDInfo(@"d:\Fetuin_400ng_ETD_100RA_062212.raw", "raw",312);
                //COL.MassLib.HCDInfo HCD = gHCD.HCDInfo();
                //textBox1.Text = sc.ScanHeader;
                ReadThread.Name = "ReadingThread@Form";
                ReadThread.Start();
            }
        }
Пример #3
0
 private void btnServerNamedPipe_Click(object sender, EventArgs e)
 {
     COL.MassLib.RawReader raw = new COL.MassLib.RawReader(@"D:\Fetuin_400ng_ETD_100RA_062212.raw", "raw");
 }