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

@@ -315,5 +315,17 @@ namespace VEPROMS.Properties {
this["SMTPUser"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool UpdateSettings {
get {
return ((bool)(this["UpdateSettings"]));
}
set {
this["UpdateSettings"] = value;
}
}
}
}

View File

@@ -77,5 +77,8 @@
<Setting Name="SMTPUser" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="UpdateSettings" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
</Settings>
</SettingsFile>