Winify – Diff between revs 69 and 77
?pathlinks?
Rev 69 | Rev 77 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | using System.Collections.Specialized; |
1 | using System.Collections.Specialized; |
|
- | 2 | using System.Linq; |
||
2 | using System.Threading; |
3 | using System.Threading; |
|
3 | using System.Windows.Forms; |
4 | using System.Windows.Forms; |
|
4 | using Winify.Utilities; |
5 | using Winify.Utilities; |
|
Line 5... | Line 6... | |||
5 | |
6 | |
|
Line 56... | Line 57... | |||
56 | case NotifyCollectionChangedAction.Add: |
57 | case NotifyCollectionChangedAction.Add: |
|
57 | foreach (var item in e.NewItems) |
58 | foreach (var item in e.NewItems) |
|
58 | { |
59 | { |
|
59 | var line = (string)item; |
60 | var line = (string)item; |
|
Line 60... | Line 61... | |||
60 | |
61 | |
|
61 | textBox1.InvokeIfRequired(textbox => { textbox.Text += line; }); |
62 | textBox1.InvokeIfRequired(textbox => { textbox.AppendText(line); }); |
|
Line 62... | Line 63... | |||
62 | } |
63 | } |
|
63 | |
64 | |
|
64 | break; |
65 | break; |