Home > Net >  Windows did not respond
Windows did not respond

Time:03-16

Application due to query the database for a long time or perform other operations for a long time, the user will point screen with the mouse, the pending response will pop-up Windows, hope don't pop up the box so that the program has been wait

CodePudding user response:

Lengthy operations using async/await to do it, or the server is busy, no response, want to let him do not click on add a prompt loading turned around

CodePudding user response:

1. Added waiting form
2. In the process of waiting for call application. Doevent ()

CodePudding user response:

Enclosing Enabled=false
Performed, such as setting form effective again,

CodePudding user response:

The progress bar
  •  Tags:  
  • C#
  • Related