This is a really annoying little problem i'm having and for some reason I can't seem to work my head around it.
so i'm attempting to make a very simple .net IRC client and one of the problems i'm having is i've made an exit button declared as follows
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
now using the following to capture the onclick event and close the app
private void exitToolStripMenuItem_click(object sender, EventArgs e)
{
// exit app
Application.Exit();
}
however the app doesnt shutdown on click oO any suggestions?