VS Designer keeps resetting my properties
It's really annoying, I have made a control which displays two boxes, which has two orienations - vertical or horizontal - which you can change by changing a property on the control in designer - which works fine.
it compiles and runs fine and as I want
However, then when you come back to the code, it has changed the orientation back to what it is by default.
Unforuntalely the orientation changes the size of the control also, so it ends up completely wrecked
I cannot think why it might be doing this. Anyone met it?
Andrzej WegierskiPosted Sep 8, 2005, 3:21 AM
RennestPosted Sep 7, 2005, 4:41 AM
Andrzej WegierskiPosted Sep 7, 2005, 4:22 AM
- set property in code - in constructor of object for instance
- if You are using Localizable=true (in Designer), some of .resx files lost Your properties. Set them manually or set Localizable=false, compile form and reset it to true.