开发者

Anchor property won't save on Windows Form

开发者 https://www.devze.com 2023-04-09 07:50 出处:网络
I have an existing solution with various windows forms.I went through to make some cosmetic changes to controls on the forms (resize, anchoring buttons), but for some reason the changes I am making to

I have an existing solution with various windows forms. I went through to make some cosmetic changes to controls on the forms (resize, anchoring buttons), but for some reason the changes I am making to the Anchor property of buttons do not get saved (Save button anchor is Top, Left and I am trying to change to Bottom).

More specifics: If I make the change and run the application, the form will render correctly with the button anchored to the bottom of the form. I am using Team Foundation Server, and after a compare of server version and my version, the only difference I see is in the forms .resx file:

<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base32">

Changed To

<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

All other files for the form are identical. After I check in my code, close out an开发者_运维问答d open up the solution again, the anchor is back to Top, Left

I am working on Windows 7 64 bit, and the solution is 32 bit. Not sure if that has anything to do with it, as I have not been able to get another programmer on a 32 bit machine to try it out.

Thanks in advance for any replies.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号