Korero – Diff between revs 1 and 2
?pathlinks?
Rev 1 | Rev 2 | |||
---|---|---|---|---|
Line 26... | Line 26... | |||
26 | #region Constructors, Destructors and Finalizers |
26 | #region Constructors, Destructors and Finalizers |
|
Line 27... | Line 27... | |||
27 | |
27 | |
|
28 | public HeartbeatForm() |
28 | public HeartbeatForm() |
|
29 | { |
29 | { |
|
30 | InitializeComponent(); |
- | ||
Line 31... | Line 30... | |||
31 | Utilities.WindowState.FormTracker.Track(this); |
30 | InitializeComponent(); |
|
32 | |
31 | |
|
33 | _cancellationTokenSource = new CancellationTokenSource(); |
32 | _cancellationTokenSource = new CancellationTokenSource(); |
|
Line 58... | Line 57... | |||
58 | } |
57 | } |
|
Line 59... | Line 58... | |||
59 | |
58 | |
|
Line 60... | Line 59... | |||
60 | #endregion |
59 | #endregion |
|
- | 60 | |
||
- | 61 | #region Event Handlers |
||
- | 62 | private void HeartbeatForm_Load(object sender, EventArgs e) |
||
- | 63 | { |
||
Line 61... | Line 64... | |||
61 | |
64 | Utilities.WindowState.FormTracker.Track(this); |
|
62 | #region Event Handlers |
65 | } |
|
63 | |
66 | |
|
64 | private void MqttCommunication_NotificationReceived(object sender, MqttNotificationEventArgs e) |
67 | private void MqttCommunication_NotificationReceived(object sender, MqttNotificationEventArgs e) |
|
Line 122... | Line 125... | |||
122 | { |
125 | { |
|
123 | _cancellationTokenSource.Cancel(); |
126 | _cancellationTokenSource.Cancel(); |
|
124 | } |
127 | } |
|
Line 125... | Line 128... | |||
125 | |
128 | |
|
- | 129 | #endregion |
||
- | 130 | |
||
126 | #endregion |
131 | |
|
127 | } |
132 | } |
|
128 | } |
133 | } |