Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
view WarFoundryPref.xml @ 110:39b93ca5fb9c
Fixes #234: Invalid data file doesn't stop load
* Refactor army change code
* Only set CurrentArmy value once we know it is safe and properly loaded
* Separate out smaller methods with sensible names
* Make CurrentGameSystem and CurrentArmy non-static
Also:
* Use parameter in FrmNewArmy constructor instead of ignoring it
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 19 Dec 2009 15:45:21 +0000 |
parents | fcfe7e12616a |
children |
line wrap: on
line source
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE preferences[ <!ELEMENT preference (CDATA|preferenceArr+)> <!ELEMENT preferenceArr (CDATA)> <!ATTLIST preference id ID #REQUIRED> <!ATTLIST preference type CDATA #REQUIRED> <!ATTLIST preferenceArr id ID #REQUIRED> ]> <preferences> <preference id="language" type="System.String">en</preference> <preference id="currSystem" type="System.String">wh</preference> <preference id="logLevel" type="System.String">Info</preference> </preferences>