Upgrade Settings from previous revision

Save config changes once
This commit is contained in:
Rich
2012-05-03 21:45:49 +00:00
parent 079a0ef80e
commit c5b790bbb0
5 changed files with 41 additions and 18 deletions

View File

@@ -111,6 +111,12 @@ namespace VEPROMS
#endregion
public frmVEPROMS()
{
if (Properties.Settings.Default.UpdateSettings)
{
Properties.Settings.Default.Upgrade();
Properties.Settings.Default.UpdateSettings = false;
Properties.Settings.Default.Save();
}
// cleanup from previous run:
Volian.Base.Library.TmpFile.RemoveAllTmps();