Form controls in the window in C # does not show

Question: In the form designer vs2010 in time, obviously there in designer.cs code control, but it does not show the controls in the Form Designer

solve:

  1. Are there InitializeComponent () constructor See form;
  2. There may not be added to the control parent control example in the designer.cs: this.Controls.Add (this.groupBox1);

 

ps: I encountered before like this, do not know how the form does not display the controls, and later found because there is no parent control will be added to the controls.

How generated by the current did not find the cause, certainly not their own deleted

Published 31 original articles · won praise 8 · views 10000 +

Guess you like

Origin blog.csdn.net/breakbridge/article/details/88179058