Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.WinForms
changeset 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 | 2a6a536d54cd |
files | FrmMain.cs |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/FrmMain.cs Thu Jan 07 20:42:05 2010 +0000 +++ b/FrmMain.cs Sat Jan 09 20:48:00 2010 +0000 @@ -170,7 +170,7 @@ public static String ArmiesPath { - get { return Constants.UserDataPath+Constants.DirectoryChar+"armies"; } + get { return Environment.GetFolderPath(Environment.SpecialFolder.Personal); } } public Preferences Preferences