Winify – Diff between revs 1 and 3
?pathlinks?
Rev 1 | Rev 3 | |||
---|---|---|---|---|
Line 75... | Line 75... | |||
75 | _notificationForm.Show(); |
75 | _notificationForm.Show(); |
|
76 | } |
76 | } |
|
Line 77... | Line 77... | |||
77 | |
77 | |
|
78 | private void Default_PropertyChanged1(object sender, PropertyChangedEventArgs e) |
78 | private void Default_PropertyChanged1(object sender, PropertyChangedEventArgs e) |
|
- | 79 | { |
||
- | 80 | if (_gotifyConnection != null) |
||
79 | { |
81 | { |
|
80 | _gotifyConnection.GotifyNotification -= GotifyConnection_GotifyNotification; |
82 | _gotifyConnection.GotifyNotification -= GotifyConnection_GotifyNotification; |
|
81 | _gotifyConnection.Stop(); |
83 | _gotifyConnection.Stop(); |
|
82 | _gotifyConnection.Dispose(); |
84 | _gotifyConnection.Dispose(); |
|
- | 85 | _gotifyConnection = null; |
||
Line 83... | Line 86... | |||
83 | _gotifyConnection = null; |
86 | } |
|
84 | |
87 | |
|
85 | _gotifyConnection = new GotifyConnection(); |
88 | _gotifyConnection = new GotifyConnection(); |
|
86 | _gotifyConnection.GotifyNotification += GotifyConnection_GotifyNotification; |
89 | _gotifyConnection.GotifyNotification += GotifyConnection_GotifyNotification; |