Winify – Diff between revs 43 and 44
?pathlinks?
Rev 43 | Rev 44 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | using System.Collections.Specialized; |
1 | using System.Collections.Specialized; |
|
2 | using System.Threading; |
2 | using System.Threading; |
|
3 | using System.Windows.Forms; |
3 | using System.Windows.Forms; |
|
4 | using Winify; |
- | ||
5 | using Winify.Utilities; |
4 | using Winify.Utilities; |
|
Line 6... | Line 5... | |||
6 | |
5 | |
|
7 | namespace Winify |
6 | namespace Winify |
|
8 | { |
7 | { |
|
Line 15... | Line 14... | |||
15 | private readonly LogMemorySink _memorySink; |
14 | private readonly LogMemorySink _memorySink; |
|
Line 16... | Line 15... | |||
16 | |
15 | |
|
17 | public LogViewForm() |
16 | public LogViewForm() |
|
18 | { |
17 | { |
|
- | 18 | InitializeComponent(); |
||
- | 19 | |
||
19 | InitializeComponent(); |
20 | Utilities.WindowState.FormTracker.Track(this); |
|
Line 20... | Line 21... | |||
20 | } |
21 | } |
|
21 | |
22 | |
|
22 | public LogViewForm(MainForm mainForm) : this() |
23 | public LogViewForm(MainForm mainForm) : this() |
|
Line 38... | Line 39... | |||
38 | /// Clean up any resources being used. |
39 | /// Clean up any resources being used. |
|
39 | /// </summary> |
40 | /// </summary> |
|
40 | /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
41 | /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
|
41 | protected override void Dispose(bool disposing) |
42 | protected override void Dispose(bool disposing) |
|
42 | { |
43 | { |
|
43 | if (disposing && components != null) |
44 | if (disposing && components != null) components.Dispose(); |
|
44 | { |
- | ||
45 | components.Dispose(); |
- | ||
46 | } |
- | ||
Line 47... | Line 45... | |||
47 | |
45 | |
|
Line 48... | Line 46... | |||
48 | _memorySink.Events.CollectionChanged -= Events_CollectionChanged; |
46 | _memorySink.Events.CollectionChanged -= Events_CollectionChanged; |
|
49 | |
47 | |