QuickImage – Diff between revs 10 and 11
?pathlinks?
Rev 10 | Rev 11 | |||
---|---|---|---|---|
Line 63... | Line 63... | |||
63 | private readonly ScheduledContinuation _searchScheduledContinuation; |
63 | private readonly ScheduledContinuation _searchScheduledContinuation; |
|
64 | private readonly ConcurrentDictionary<string, ListViewItem> _searchStore; |
64 | private readonly ConcurrentDictionary<string, ListViewItem> _searchStore; |
|
65 | private readonly ScheduledContinuation _selectionScheduledContinuation; |
65 | private readonly ScheduledContinuation _selectionScheduledContinuation; |
|
66 | private readonly ScheduledContinuation _sortScheduledContinuation; |
66 | private readonly ScheduledContinuation _sortScheduledContinuation; |
|
67 | private readonly SparkleUpdater _sparkle; |
67 | private readonly SparkleUpdater _sparkle; |
|
68 | private readonly AutoCompleteStringCollection _tagAutoCompleteStringCollection; |
68 | private AutoCompleteStringCollection _tagAutoCompleteStringCollection; |
|
69 | private readonly TagListViewSorter _tagListViewSorter; |
69 | private TagListViewSorter _tagListViewSorter; |
|
Line 70... | Line 70... | |||
70 | |
70 | |
|
71 | private readonly TagManager _tagManager; |
71 | private readonly TagManager _tagManager; |
|
72 | private AboutForm _aboutForm; |
72 | private AboutForm _aboutForm; |
|
73 | private CancellationToken _combinedSearchSelectionCancellationToken; |
73 | private CancellationToken _combinedSearchSelectionCancellationToken; |
|
Line 105... | Line 105... | |||
105 | InitializeComponent(); |
105 | InitializeComponent(); |
|
Line 106... | Line 106... | |||
106 | |
106 | |
|
107 | _fileMutex = new FileMutex(); |
107 | _fileMutex = new FileMutex(); |
|
Line 108... | Line -... | |||
108 | _magicMime = new MagicMime(_fileMutex); |
- | ||
109 | |
- | ||
110 | _tagListViewSorter = new TagListViewSorter(); |
- | ||
111 | tagListView.ListViewItemSorter = _tagListViewSorter; |
108 | _magicMime = new MagicMime(_fileMutex); |
|
112 | |
109 | |
|
113 | _cancellationTokenSource = new CancellationTokenSource(); |
110 | _cancellationTokenSource = new CancellationTokenSource(); |
|
114 | _cancellationToken = _cancellationTokenSource.Token; |
111 | _cancellationToken = _cancellationTokenSource.Token; |
|
115 | _searchScheduledContinuation = new ScheduledContinuation(); |
112 | _searchScheduledContinuation = new ScheduledContinuation(); |
|
Line 124... | Line 121... | |||
124 | _changedConfigurationContinuation = new ScheduledContinuation(); |
121 | _changedConfigurationContinuation = new ScheduledContinuation(); |
|
125 | _random = new Random(); |
122 | _random = new Random(); |
|
Line 126... | Line 123... | |||
126 | |
123 | |
|
127 | _listViewItemProgress = new Progress<ImageListViewItemProgress<ListViewItem>>(); |
124 | _listViewItemProgress = new Progress<ImageListViewItemProgress<ListViewItem>>(); |
|
128 | _quickImageListViewProgress = |
125 | _quickImageListViewProgress = |
|
129 | new Progress<ImageListViewItemProgress<(ListViewItem Item, Database.QuickImage Image)>>(); |
- | ||
130 | |
- | ||
131 | _tagAutoCompleteStringCollection = new AutoCompleteStringCollection(); |
- | ||
132 | textBox1.AutoCompleteCustomSource = _tagAutoCompleteStringCollection; |
- | ||
Line 133... | Line 126... | |||
133 | tagTextBox.AutoCompleteCustomSource = _tagAutoCompleteStringCollection; |
126 | new Progress<ImageListViewItemProgress<(ListViewItem Item, Database.QuickImage Image)>>(); |
|
134 | |
127 | |
|
135 | _quickImageDatabase = new QuickImageDatabase(_cancellationToken); |
128 | _quickImageDatabase = new QuickImageDatabase(_cancellationToken); |
|
Line 2729... | Line 2722... | |||
2729 | |
2722 | |
|
2730 | JotFormTracker.Tracker.Configure<Form1>() |
2723 | JotFormTracker.Tracker.Configure<Form1>() |
|
Line 2731... | Line 2724... | |||
2731 | .Properties(form => new { form.checkBox2.Checked, form.checkBox2.CheckState }); |
2724 | .Properties(form => new { form.checkBox2.Checked, form.checkBox2.CheckState }); |
|
2732 | |
2725 | |
|
- | 2726 | JotFormTracker.Tracker.Configure<Form1>() |
||
- | 2727 | .Properties(form => new { form.checkBox3.Checked, form.checkBox3.CheckState }); |
||
- | 2728 | |
||
- | 2729 | |
||
- | 2730 | _tagListViewSorter = new TagListViewSorter(); |
||
- | 2731 | tagListView.ListViewItemSorter = _tagListViewSorter; |
||
- | 2732 | |
||
- | 2733 | _tagAutoCompleteStringCollection = new AutoCompleteStringCollection(); |
||
Line 2733... | Line 2734... | |||
2733 | JotFormTracker.Tracker.Configure<Form1>() |
2734 | textBox1.AutoCompleteCustomSource = _tagAutoCompleteStringCollection; |
|
Line 2734... | Line 2735... | |||
2734 | .Properties(form => new { form.checkBox3.Checked, form.checkBox3.CheckState }); |
2735 | tagTextBox.AutoCompleteCustomSource = _tagAutoCompleteStringCollection; |
|
2735 | |
2736 | |