One way to really screw it up is to dramatically change your machine's environment by doing something like installing the PowerPacks. When it works, your builds get a lot faster. VS tries to "help" you by reusing those files on subsequent builds. With respect to "What the heck happened here" I think the key phrase is "rebuilt", rknox.īuilding makes a ton of intermediate files. Probably things with z-order, but I bet every now and then the transparency fails too. That sometimes interacts really poorly with other controls, but not often enough I can clearly remember any specific threads with examples. There's only ever one control, but it has a lot of design-time magic to trick you into believing it's different. So the shape "control" you dragged is drawn. ShapeContainer knows how to draw each shape. It has a name like ShapeContainer, it's not really relevant exactly what it is. When you drop one of these shape "controls", what actually happens is a panel-like transparent control is added to your form and sized to fill the whole space. If you are dropping it on a User Control, then you probably need to have a reference or something within your control so that you will draw those shapes as well.īut I'm only guessing.It's even weirder than that but you're half right. I suspect shape "controls" are lightweight controls meaning they have to be drawn on the container, so the Windows Form and other VB controls are built to support drawing of those shape controls on themselves.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |