Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with random control loss in WinForms?

Status
Not open for further replies.

dsandlin

Programmer
Jul 11, 2003
56
0
0
CR
I've been using subclassed controls with WinForms and sometimes, apparently randomly, after a Build, one of the controls on the form will be missing. It has happened with comboboxes, labels, and buttons. When I look at the code view, the control is still there, but it has been put to 0,0 with properties that make it invisible. Has anyone else seen this undocumented feature of C#? Is there a way to prevent this from happening?

Thanks, Dick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top