.net - In dotnet windows forms, how do I pause in a form without putting the form's thread to sleep? -
problem not want use threading.sleep(1000) because need thread stay alive, pause before executing next line of code while disallowing user click on form during pause. simplest method think of open timed self-closing dialog opacity of 0. better way same result?
you can set enabled = false;
, use timer set true
later on.
Comments
Post a Comment