Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Odd designer behavior
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Odd designer behavior
Miscellaneous
Thread ID:
01034310
Message ID:
01034310
Views:
64
I will try to explain the odd designer behavior that I see.
I created my own user control and added it to my form. I put the control in the location that I wanted and I run the app. When the app is running the custom user control is in the location that I put it, then I close the app and go back to the designer. Now the user control is moved to the location 0,0 in the designer (and in the property sheet), but it I look at the code the user control is still in the location where I put it. There is the code from the auto generated code:
this.waterLevel1.Location = new System.Drawing.Point(136, 192);
If I run the app again the user control will be in the location 136,192, but in the designer the user control is in location 0,0.

I hope I explained it well enough so that someone can tell me what is going on here. Has anyone else seen this before? What can I do?

Einar

UPDATE: I removed the control from the form and added it again and the behavior described above was gone. (I would still like to know what happend)
Semper ubi sub ubi.
Next
Reply
Map
View

Click here to load this message in the networking platform