|
-
May 18th, 2011, 09:51 AM
#1
What's wrong with my code?
Hey guys, I am very much new to C# programming. Actually, new to programming period. I'm using visual C# 2010 express and I'm going through a tutorial right now (http://tinyurl.com/69e9hsj). I'm stuck right now on this piece of code, it's exactly the same as the code in the tutorial, however, I'm getting several errors. Help would be greatly appreciated.
Code:
private void mnuQuit_Click(object sender, EventArgs e)
if(MessageBox.Show("Really Quit?", "Exit", MessageBoxButtons.OKCancel)==DialogResult.OK)
{
Application.Exit();
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|