QuickImage – Diff between revs 5 and 7
?pathlinks?
Rev 5 | Rev 7 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | { |
7 | { |
|
8 | public partial class ViewLogsForm : Form |
8 | public partial class ViewLogsForm : Form |
|
9 | { |
9 | { |
|
10 | private readonly CancellationToken _cancellationToken; |
10 | private readonly CancellationToken _cancellationToken; |
|
Line 11... | Line 11... | |||
11 | |
11 | |
|
Line 12... | Line 12... | |||
12 | private readonly QuickImage _mainForm; |
12 | private readonly Form1 _mainForm; |
|
Line 13... | Line 13... | |||
13 | |
13 | |
|
14 | private readonly LogMemorySink _memorySink; |
14 | private readonly LogMemorySink _memorySink; |
|
15 | |
15 | |
|
16 | public ViewLogsForm() |
16 | public ViewLogsForm() |
|
Line 17... | Line 17... | |||
17 | { |
17 | { |
|
18 | InitializeComponent(); |
18 | InitializeComponent(); |
|
19 | } |
19 | } |
|
20 | |
20 | |
|
21 | public ViewLogsForm(QuickImage mainForm) : this() |
21 | public ViewLogsForm(Form1 mainForm) : this() |
|
Line 22... | Line 22... | |||
22 | { |
22 | { |
|
23 | _mainForm = mainForm; |
23 | _mainForm = mainForm; |
|
24 | _mainForm.MemorySinkEnabled = true; |
24 | _mainForm.MemorySinkEnabled = true; |
|
25 | } |
25 | } |
|
26 | |
26 | |