Jump to content
  • Advertisement
Sign in to follow this  

Saving control's size and location values in the form's resx file

This topic is 2834 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


A couple of days ago, I used Tangible's conversion tools(http://tangiblesoftwaresolutions.com/, great piece of software by the way, it doesn't work on first shot of course, but it gives a very solid base to start porting from) to help port a C++.NET project I've been working on to C#, and fixing all the errors following it today.

Now, it runs very nicely, but alot of the controls on my forms have been mislocated and missized, the project was localized in 2 languages before porting and the localization code still works with reading from the .resx and setting the text on controls.

Now, I was wondering if it were possible to save the location and size properties of controls to the .resx files of their forms, and not just their names and texts, so I could read the values and arrange accordingly at runtime, rather than go through every one of the hundreds of controls I had made and manually checking and fixing its' location and size.

Is there maybe any other simpler method that's better?

Thanks alot.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!