Hi again guys.
I have added a menu strip to my app and have a simple "File" menu however; in that file menu u have a Close option like you normally would but what is the code so that when i click close it closes the program?
In VB it was Me.Close (where Me refered to the form)
Thanks
How do I Close a form?
5 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Subhendu DeRank #1,108 · 1.7K reputationPosted Dec 9, 2010, 9:41 PM EST
John Burns116 reputationPosted Dec 9, 2010, 9:48 PM EST
Suthish NairRank #92 · 22.8K reputationPosted Dec 9, 2010, 9:50 PM EST
Because MenuStrip is an Windows control.
CrishRank #1,487 · 1.1K reputationPosted Dec 10, 2010, 12:34 AM EST
To close your form just write this below code.
form1.Close()
otherwise....
me.close()
Satyapriya NayakRank #47 · 31.5K reputationPosted Dec 10, 2010, 12:54 AM EST
Me.close
End
Application.exit
In C#
this.Close();
Application.Exit();