Winify
/trunk/Announcements/Announcement.cs |
@@ -53,28 +53,28 @@ |
} |
} |
|
[XmlElement(ElementName = "Speak")] |
public string Speak |
[XmlElement(ElementName = "Ignore")] |
public bool Ignore |
{ |
get => _speak; |
get => _ignore; |
set |
{ |
if (value == _speak) return; |
if (value == _ignore) return; |
|
_speak = value; |
_ignore = value; |
OnPropertyChanged(); |
} |
} |
|
[XmlElement(ElementName = "Ignore")] |
public bool Ignore |
[XmlElement(ElementName = "Chime")] |
public bool EnableChime |
{ |
get => _ignore; |
get => _enableChime; |
set |
{ |
if (value == _ignore) return; |
if (value == _enableChime) return; |
|
_ignore = value; |
_enableChime = value; |
OnPropertyChanged(); |
} |
} |
@@ -91,6 +91,8 @@ |
|
private bool _ignore = false; |
|
private bool _enableChime = true; |
|
#endregion |
|
#region Constructors, Destructors and Finalizers |
@@ -100,13 +102,6 @@ |
{ |
} |
|
public Announcement(int appId, int lingerTime, string speak) : this() |
{ |
AppId = appId; |
LingerTime = lingerTime; |
Speak = speak; |
} |
|
#endregion |
} |
} |