Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
comparison FrmMain.cs @ 118:d2aa50d97377
Re #239: Use more sensible default for saving and exporting
* Make WinForms use "Personal" folder (My Documents in WinXP)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 09 Jan 2010 20:48:00 +0000 |
parents | 468a41d79b10 |
children | ff931ff5891c |
comparison
equal
deleted
inserted
replaced
117:468a41d79b10 | 118:d2aa50d97377 |
---|---|
168 get { return Constants.ExecutablePath+Constants.DirectoryChar+"data"; } | 168 get { return Constants.ExecutablePath+Constants.DirectoryChar+"data"; } |
169 } | 169 } |
170 | 170 |
171 public static String ArmiesPath | 171 public static String ArmiesPath |
172 { | 172 { |
173 get { return Constants.UserDataPath+Constants.DirectoryChar+"armies"; } | 173 get { return Environment.GetFolderPath(Environment.SpecialFolder.Personal); } |
174 } | 174 } |
175 | 175 |
176 public Preferences Preferences | 176 public Preferences Preferences |
177 { | 177 { |
178 get { return preferences; } | 178 get { return preferences; } |