vstudio upgrade breaks form menus

After loading my Windows Forms app into the spiffy new Visual Studio 2008 I was excited to find the generated release exe ran on a PC without requiring installing the 3.0 version of MS’s dotnet framework. That’s good. However where did my app’s menu go?

Turns out the old-fashioned menu control has been replaced in the WinForms toolbox by a menuStrip control. Like a spiffed-up menu, it works mostly the same; however my initial experience indicates that the ‘checked’ property behaves slightly differently from that property’s behavior under the old menu control.

Specifically, the ‘checked’ property is true when the menuitem is clicked — this seems correct and natural, but it’s a change from former behavior…which happens to break my code.

Just what I didn’t want to do…spend a bunch of time recoding UI plumbing in my app to make it compatible with the upgraded developer tool.

Update: it only took about an hour to fix this issue. Sometimes I just can’t help kvetching though.

One Response to “vstudio upgrade breaks form menus”

  1. LV Says:

    Yur lucky frog. Only an hour!. I am still on 2005 and am reluctant to dive into 2008. Imagine an eneterprise level app!

Leave a Reply