Пример #1
0
 private void FrmMain_Load(object sender, EventArgs e)
 {
     _zfmSensor = new Zfm20Fingerprint(DefaultComPort, DefaultBaudRate);
 }
 private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
 {
     DefaultComPort = comboBox1.SelectedItem.ToString();
     _zfmSensor     = new Zfm20Fingerprint(DefaultComPort, DefaultBaudRate);
     //MessageBox.Show(DefaultComPort);
 }