Is this possible? i have not found any code anywhere to do this. i have a button in the program with Button1.Text="Close", but.... i cant figure out how to actually close the form haha. please help
Is this possible? i have not found any code anywhere to do this. i have a button in the program with Button1.Text="Close", but.... i cant figure out how to actually close the form haha. please help
Do you want to end the application completely or just close the current form? If you want to close the current form then you can use this:
Code:this.close();
And if you want to completely close the application then the following does the job:
Code:Application.Exit();
Thank you!!!