private void MiniKeyboardHandler(object sender, MiniKeyboardArgs e) { keyInput = e.KeyCode; // miniKeyboard1.Location = IDLocation; KeyboardInput(txtPow); txtPow.PasswordChar = '*'; }
private void MiniKeyboardHandler(object sender, MiniKeyboardArgs e) { keyInput = e.KeyCode; //根据小键盘当前位置,绑定小键盘要输出的输入框 //输入编号 if (miniKeyboard.Location == IDLocation) { KeyboardInput(txtStaffID, txtStaffPwd, PwdLocation); } //输入密码 else if (miniKeyboard.Location == PwdLocation) { KeyboardInput(txtStaffPwd, txtStaffID, IDLocation); } }
//小键盘绑定支付方式的事件 private void MiniKeyboardHandler_mCardPayInput(object sender, MiniKeyboardArgs e) { keyInput = e.KeyCode; Keyboard_mCardPayInput(); }
//小键盘绑定实收现金框的事件 private void MiniKeyboardHandler_PayCashInput(object sender, MiniKeyboardArgs e) { keyInput = e.KeyCode; Keyboard_Input(txtPayCash); }
//小键盘绑定支票输入框的事件 private void MiniKeyboardHandler_CheckInput(object sender, MiniKeyboardArgs e) { keyInput = e.KeyCode; Keyboard_CheckInput(txtCheck); }
//小键盘绑定自定义输入框的事件 public void MiniKeyboardHandler_Input(object sender, MiniKeyboardArgs e) { keyInput = e.KeyCode; Keyboard_Input(inputBox.type); }