/// <summary> /// 停止读卡器 /// </summary> private void stopCarCardScan() { try { if (_hgIcCard != null & _hgIcCard.Close()) { ultraToolbarsManager1.Toolbars[0].Tools["ReadCard"].SharedProps.Caption = "启动"; comboSerialNO.Enabled = true; } } catch (Exception ex4) { } }
private void button3_Click(object sender, EventArgs e) { card.Close(); }