Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私が作成しているキャッシュ レジスタ プログラムで、クレジット カードをスワイプした後にフォームを自動的に送信したいと考えています。これはどのように行われますか?すべてのクレジット カードで、磁気ストライプに格納されている文字数は同じですか?
クレジットカードをスワイプして、クレジットカードのピン番号の最大長を取得すると仮定します。そしてTextBox TextChanged Event
TextBox
TextChanged Event
if (textBox.Length == pinNumberLength) { submitButton.PerformClick()//or logic here }