The C#winform program on the TabPage control does not display

c# The WinForm program
Picture structure:
There is a panel control, the main form and click on the menu, sub window will be displayed in the panel control.
The subform without borders, has a TabControl control, TabControl two TabPage, tabpage1, tabpage2. on each TabPage have some textbox and other commonly used controls, in addition to tabpage1, tabpage2 has a datagridview. DataGridView uses code filled header and data bank. The subform after loading the default display tabpage1, tabpage1 showed no abnormality.
Q: when switching between TabPage to tabpage2, all the controls are not shown on tabpage2 (textbox and DataGridView), switch back to tabpage1, tabpage1 can show the normal. Then switch back to tabpage2, all the controls on the tabpage2 or do not show. Tabpage1 is able to display, all the controls on tabpage2 do not display, the program without exception. What's this about, Harvey? Solving!!!

Started by Uriah at November 22, 2016 - 12:38 PM

People know what it is not? ? ?

Posted by Uriah at December 02, 2016 - 1:36 PM

No one knows?

Posted by Uriah at December 16, 2016 - 2:27 PM

Whether the location problem, out of sight.

Posted by Brent at December 30, 2016 - 3:14 PM

I suggest you rebuild a project, the TabPage of the control to drag and drop a.

You'll find does not display the problem there.

Posted by Emily at January 04, 2017 - 3:47 PM

Without the truth.

Posted by Upton at January 14, 2017 - 4:24 PM