Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Nova - Development » New Cargo/Fuel meter
Re: New Cargo/Fuel meter Thu, 23 June 2011 23:51 Go to previous messageGo to previous message
Aeglos is currently offline Aeglos

 
Chief Warrant Officer 1
Stars! Nova developer
Stars! Nova developer

Messages: 142
Registered: May 2011
Location: Chile
Well, i've reverted to r624 to continue working, as I could not fix it.

To my understanding the problem is that the forms must serialize their data so that the underlying code can read it, and this is what the TypeConverters are for, since .Net can't know how to serialize custom controls.

I tried making a TypeConverter for the new control but failed, so I clearly did not make it right. I read somewhere that there is an alternative attribute, DesignerVisibility or such, that allows the data to be serialized to code instead of to resource files, but didn't delve too much into it. The fact that I'm on Mono for the next couple of days does not help the matter either.

I tried deleting the .resx file as you did, but still got errors as the resource manager on PlanetDetails could not find it's associated resources, whichever they are.

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Check out the Stars! Nova developers
Next Topic: XML Serialization
Goto Forum:
  


Current Time: Wed May 15 21:52:13 EDT 2024