示例#1
0
        private void button2_Click(object sender, EventArgs e)
        {
            Int16 chan = Convert.ToInt16(1);

            if (radioButton2.Checked)
            {
                chan = Convert.ToInt16(2);
            }

            clearChart();
            tip = inputfile.Split('.').Last();
            UlazniBuffer.Close();
            if (tip == "txt")
            {
                UlazniBuffer.Open(inputfile, chan, EKGFileType.TEXT);
            }
            else
            {
                UlazniBuffer.Open(inputfile, chan, EKGFileType.BINARY);
            }
            timer1.Start();
            i = 0;
            t = 0;
        }
示例#2
0
 private void button4_Click(object sender, EventArgs e)
 {
     timer1.Stop();
     UlazniBuffer.Close();
 }