Application.Exit
Hello,
I use c# form. And what I have for now is a button down event and in that I have a if statement for the P key, and when I press this key. It closes the application, but it only closes when I have the form selected, how can you make it so, that when your in-game in maybe cs-go, you can close the c# form?
I use c# form. And what I have for now is a button down event and in that I have a if statement for the P key, and when I press this key. It closes the application, but it only closes when I have the form selected, how can you make it so, that when your in-game in maybe cs-go, you can close the c# form?