Inherited Form comes with no editing option on the whole. Use C# and VS 2017

Asked

Viewed 167 times

3

When I create Form2 Inherited from Form1, I can’t edit anything on it. Of course the lock on the upper left has something to do with it, but how can I resolve this situation?

Follow the image for better understanding. Thank you! inserir a descrição da imagem aqui

  • Hello, consider taking one of the answers if it’s been helpful. If you think it is incomplete or does not meet you, make the appropriate comments so that they can improve it.

3 answers

1

The appeal Lock Controls has been activated on your form.

By activating this option, all controls were marked with this cardeado, indicating that cannot move or resize them.

You can lock/unlock controls individually, or all simultaneously.

Individual activation/deactivation

  • Select a control, and in its property, change the Locked option (Locked).

General activation/deactivation

  • To enable/disable all controls use: Format (Format) Menu > Lock Controls (Lock Controls)

1

In the form father, go in control you want it to be changed, on the property modifiers, place public.

-2

Right click on the form -> Lock Controls

Browser other questions tagged

You are not signed in. Login or sign up in order to post.