I've got a complex win forms project - lots of forms, user controls, etc.
The main form contains mutiple tab pages, various other containers (panels, splitters, etc), etc.
Something very odd has started happening with random controls in the tab pages randomly moving around (often off the screen - e.g. to coordinate position -1425,-8521), or changing size (usually to zero size). It's getting to the point where I move the controls to the correct position, rebuild the project, and everything works great.
Then I make a trivial change to a bit of code (e.g. a bit of an algorithm, tweak an FFT or something) and next time I run the project, half the controls will have gone walkies.
Any idea what is going on?
The controls that are moving around are often completely passive (e.g. labels) or something where the only interaction is getting a value (e.g. a comboBox or a trackbar). Usercontrols and things are also affected, unless the control is docked to its container - docked controls work fine. Undocked controls go crazy. Controls that are not in a container (e.g. directly on the form) work fine.
The main form contains mutiple tab pages, various other containers (panels, splitters, etc), etc.
Something very odd has started happening with random controls in the tab pages randomly moving around (often off the screen - e.g. to coordinate position -1425,-8521), or changing size (usually to zero size). It's getting to the point where I move the controls to the correct position, rebuild the project, and everything works great.
Then I make a trivial change to a bit of code (e.g. a bit of an algorithm, tweak an FFT or something) and next time I run the project, half the controls will have gone walkies.
Any idea what is going on?
The controls that are moving around are often completely passive (e.g. labels) or something where the only interaction is getting a value (e.g. a comboBox or a trackbar). Usercontrols and things are also affected, unless the control is docked to its container - docked controls work fine. Undocked controls go crazy. Controls that are not in a container (e.g. directly on the form) work fine.
