It started recently (not too sure what caused the change unfortunately), but I can no longer select controls in my form. My reading about this uncovered some possible explanations, including:
- You run your program in debug mode
- Your form is derived from another class where everything is private.
- Your controls are locked.
For (1) no, it definitely doesn't work, and for (2) my form is derived from DevComponents.DotNetBar.RibbonForm. For (3) no, they are not "locked" (I tried to lock and then unlock if some state got stuck in the designer, but without the dice). The controls are in my form, not the base class form, and the instances are not private (I specifically made them public to test this), and they worked just fine before.
So what can I do? I can select a control, for example ComboBox, from the "Window Properties" drop-down list, change its properties, etc. But when I choose, nothing is chosen in the designer. I can select the shape (along its border) and resize it in the designer. I can add a new control, such as a shortcut, and interact well with it in the designer, so this happened to my existing controls.
I am sure that this is either something spectacularly dumb, or Visual Studio 2012 in the wind.
Is anyone
Edit: Buttoned up the decision and brought it home. It is cleaned and rebuilt, and it works great in the designer. I guess the problem is with my installation at work, anyway.
c # winforms visual-studio-2012
Robinson
source share