We are using MapSuite 10 for WinForms.
Recently we began working on preparing our application for use in languages other than English. The language I am working on is Portuguese. In my testing I noticed that if we serialize certain objects when the current culture is set to Portuguese (pt-BR), then deserialize when the current culture is set to English (en-US) the RectangleShape does not deserialize correctly.
I have attached a sample project. Run the project. It will start with the current culture set to pt-BR. Click the Serialize button (a few of the map’s properties are saved). Place a break point in sub TestDeserialization, then use the radio button to switch to English and click the Deserialize button. Examine the properties of the BoundingBox on the MapProperties object that got deserialized. Notice that they are wrong. The numbers are so large it is obvious that they are incorrect, they should be within the normal values for decimal defreees.
Please let me know what I have do do to fix this.
SerializationTest.zip (2.3 MB)