c# - "Gracefully" killing a process -
I am currently using the process to kill a process. Although there is a way, instead of just hitting it instantly, I might like to send a message to the process so that it can instruct me to close it, so that it can be cleaned properly and shut down. Actually, I'm just looking for a composite to click on the red X in the upper right hand corner, which I believe is sending a message to apply for shut down.
If there is a Windows interface in this process (as you refer to the red "X") , Then you try If this fails, you can process. Kell ()
.
Comments
Post a Comment