Home > Net >  How to run after not pop up any prompt box?
How to run after not pop up any prompt box?

Time:10-23

On the c # is now doing a regular task by some interface somewhere else then what the interface will be a little prompt box pop up but this is a timed tasks such as no one to deal with these prompt dialog box pops up after will have been stuck in that excuse me what method can not pop up these boxes (these are not exceptions are normal prompt box!)

CodePudding user response:

The best way is, of course, shielding the prompt box code in the source code, other methods, either with the tools of a small or write a program to get you a handle to the interface program, send it to the enter key, such as manual to point out prompt box (simulation)

CodePudding user response:

Is your own code, modify the code, join the parameter controls whether to play box

If the code is not your own (or each other without playing box option), that can only adopt hack approach, using a background process monitoring bounced, win32api lookup handle, then send the form close the message (or the enter key messages sent to himself one click)
  •  Tags:  
  • C#
  • Related