SyntaxFix
Write A Post
Hire A Developer
Questions
We can close every window using Application.Exit(); Using this method we can close hidden windows also.
Application.Exit();
private void btnExitProgram_Click(object sender, EventArgs e) { Application.Exit(); }