WinForms - UserControl problem
-
Hey, I have a small problem. I created a UserControl within a Windows Forms Project, added all the controls needed, code behind...everything. It was working OK. When I reopened the project I was surprised to see that on my usercontrol...in design mode there are no controls on it. In the Properties toolbox, the list of controls that "are" on the control are there...all their properties are the right ones. I tried looking in the designer file...the InitializeComponent method is OK. So everything is there where is supposed to be...except my controls on the form :doh:. I want to ask, if anyone had come across this problem...because it happened to me several times on different computers. By the way...I'm using VS 2005. Thanks.
There are 10 kinds of people: those who understand binary and those who don't
-
Hey, I have a small problem. I created a UserControl within a Windows Forms Project, added all the controls needed, code behind...everything. It was working OK. When I reopened the project I was surprised to see that on my usercontrol...in design mode there are no controls on it. In the Properties toolbox, the list of controls that "are" on the control are there...all their properties are the right ones. I tried looking in the designer file...the InitializeComponent method is OK. So everything is there where is supposed to be...except my controls on the form :doh:. I want to ask, if anyone had come across this problem...because it happened to me several times on different computers. By the way...I'm using VS 2005. Thanks.
There are 10 kinds of people: those who understand binary and those who don't
I've had the same problem and found by closing and reopening it solves the problem. As far as what causes it I ain't gotta clue! Good Luck Mike
Life is not measured by the number of breaths we take, but by the moments that take our breath away. "George Carlin"