Added setting to enable/disable email notifications

This commit is contained in:
gamosoft_cp
2013-05-01 20:22:27 +00:00
parent 614e17605b
commit e4d6c82ef6
6 changed files with 56 additions and 6 deletions
+12
View File
@@ -70,5 +70,17 @@ namespace Outlook2013TodoAddIn.Properties {
this["DisplayTimeOut"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool MailAlertsEnabled {
get {
return ((bool)(this["MailAlertsEnabled"]));
}
set {
this["MailAlertsEnabled"] = value;
}
}
}
}
@@ -14,5 +14,8 @@
<Setting Name="DisplayTimeOut" Type="System.Int32" Scope="User">
<Value Profile="(Default)">6000</Value>
</Setting>
<Setting Name="MailAlertsEnabled" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
</Settings>
</SettingsFile>