Home > Net >  C # how to intercept and code in the background gun
C # how to intercept and code in the background gun

Time:01-21

C # write a small plug-in, real-time monitor code gun, when touching the specified length of bar code content prevents its input in the input box

CodePudding user response:

In the procedure of receiving data event in judgment,

CodePudding user response:

Can say the specific ideas

CodePudding user response:

Input to the input box you must have a line of code, txtXXX. Text="code";

What are you doing in front of the line of code length of a format or check, calibration is not through the assignment

CodePudding user response:

The maximum length of input control input box MaxLength

CodePudding user response:

Defined time (how long no input to empty fields)
Open threads, emptied input box, after time countdown, it is time to empty the input box
Textbox chenge event {
Reset time
Textbox. Length={xx
Business logic
Empty




}

CodePudding user response:

Gun and some 20 yards to software direct docking, need not listening input box,

CodePudding user response:

In the past, I was using a hook
  •  Tags:  
  • C#
  • Related