HamBook – Diff between revs 53 and 54

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 53 Rev 54
Line 1... Line -...
1 using HamBook.Utilities; -  
2 using System; -  
3 using System.Collections.Generic; -  
4 using System.Collections.Specialized; 1 using System.Collections.Specialized;
5 using System.ComponentModel; -  
6 using System.Data; -  
7 using System.Drawing; -  
8 using System.Linq; -  
9 using System.Text; -  
10 using System.Threading; 2 using System.Threading;
11 using System.Threading.Tasks; -  
12 using System.Windows.Forms; 3 using System.Windows.Forms;
-   4 using HamBook.Utilities;
Line 13... Line 5...
13   5  
14 namespace HamBook 6 namespace HamBook
15 { 7 {
16 public partial class ViewLogsForm : Form 8 public partial class ViewLogsForm : Form
Line 39... Line 31...
39 _memorySink = memorySink; 31 _memorySink = memorySink;
40 _memorySink.Events.CollectionChanged += Events_CollectionChanged; 32 _memorySink.Events.CollectionChanged += Events_CollectionChanged;
Line 41... Line 33...
41   33  
42 _cancellationToken = cancellationToken; 34 _cancellationToken = cancellationToken;
-   35 }
43 } 36  
44 /// <summary> 37 /// <summary>
45 /// Clean up any resources being used. 38 /// Clean up any resources being used.
46 /// </summary> 39 /// </summary>
47 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> 40 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
48 protected override void Dispose(bool disposing) 41 protected override void Dispose(bool disposing)
49 { 42 {
50 if (disposing && components != null) -  
51 { -  
52 components.Dispose(); -  
Line 53... Line 43...
53 } 43 if (disposing && components != null) components.Dispose();
Line 54... Line 44...
54   44  
55 _memorySink.Events.CollectionChanged -= Events_CollectionChanged; 45 _memorySink.Events.CollectionChanged -= Events_CollectionChanged;
Line 74... Line 64...
74   64  
75 break; 65 break;
76 } 66 }
77 } 67 }
78 } 68 }
79 } 69 }