Added setting to enable/disable email notifications
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user