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?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Andrzej WegierskiRank #1,729 · 877 pointsPosted Sep 7, 2005, 12:22 AM EDT
- 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.
Rennest3 pointsPosted Sep 7, 2005, 12:41 AM EDT
Andrzej WegierskiRank #1,729 · 877 pointsPosted Sep 7, 2005, 11:21 PM EDT