Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            MagneticStripCode readWriter;
            try {
                readWriter = new MagneticStripCode();
                readWriter.SendComData(sender, e);

            } catch (Exception ex) {
                MessageBox.Show(ex.ToString(), "Broc Screwed up the card writer");
            } finally {
                readWriter = null;
            }
        }