private void MainForm_Load(object sender, EventArgs e) { finder = new ABnoteSAMFinder(); finder.SAMFound += new SAMFoundEventHandler(finder_SAMFound); finder.FindCard(); }
private void MainForm_Load(object sender, EventArgs e) { finder = new ABnoteSAMFinder(); finder.FindAnyCard = true; finder.SAMFound += new SAMFoundEventHandler(finder_SAMFound); if (!finder.FindCard()) { MessageBox.Show("No PCSC readers were detected"); } }