1

I have a really strange situation in my winform application.

I'm trying to change the design of a certain form but controls are locked so I can't do anything.

If I right click on it, the lock button is not pressed. If I check properties of the control, anything is grayed out but the "locked" property is set to false.

locked control

The document outline (main form is not locked) :

document outline

The project is 10 years old and was first made with .NET 2 (now it's in 3.5). There is a lot of form that I could change, but not this one.

Thx for your help

PS : I don't really want to copy/paste in a new form (the project is a total mess).

Robouste
  • 3,020
  • 4
  • 33
  • 55

1 Answers1

5

It's almost certain that the form you are trying to edit is in fact derived from another form - have a look at its base type, and it should be obvious. Whatever controls are on the parent will be locked in the children - all the children share the same controls, so you don't want to move them by accident. If you do want to move them in all children, just open the parent form in the designer.

Luaan
  • 62,244
  • 7
  • 97
  • 116
  • 1
    First of all, thanks for this really quick reply. That's exactly what you said. Now I can work on this control. How can I mark this as resolved ? – Robouste Aug 28 '15 at 09:24
  • 1
    @Robouste Glad it helped :) There should be a checkmark next to the vote buttons you can click. – Luaan Aug 28 '15 at 12:16