개정판 1edefbdf
- 최초 썸네일이 최상단으로 안가는 현상 수정
- numpad 4~8 페이지 이동 제거
-
Change-Id: Id881ce934f2bc0d1b80b6e9c993fd3e9315d49b3
KCOM/Controls/Sample.xaml.cs | ||
---|---|---|
200 | 200 |
DownloadProcess.ProcessMonitor(ViewerDataModel.Instance.IsAdmin, tempStoragePath, App.PageStorage.LocalStorage,Common.ViewerDataModel.Instance.OriginalTempFile); |
201 | 201 |
|
202 | 202 |
App.splashScreen.Close(); |
203 |
|
|
203 | 204 |
} |
204 | 205 |
|
205 | 206 |
private void WcfServer_IpcThumbnailReceived(object sender, IpcThumbnailEventArgs e) |
... | ... | |
210 | 211 |
{ |
211 | 212 |
//Dispatcher.BeginInvoke((Action)delegate () |
212 | 213 |
//{ |
213 |
items.First().ImageUri = new Uri(e.Path, UriKind.Absolute); |
|
214 |
items.First().ImageUri = new Uri(e.Path, UriKind.Absolute); |
|
215 |
|
|
216 |
|
|
217 |
if (e.PageNo > 2 && ImgListbox.Items.Count > 0) |
|
218 |
{ |
|
219 |
ImgListbox.IsScrollIntoViewEnabled = true; |
|
220 |
//ImgListbox.BringIntoView(); |
|
221 |
ImgListbox.ScrollIntoView(0); |
|
222 |
} |
|
223 |
|
|
214 | 224 |
//}); |
215 | 225 |
} |
216 | 226 |
} |
... | ... | |
318 | 328 |
{ |
319 | 329 |
try |
320 | 330 |
{ |
321 |
System.Threading.Tasks.Task.Factory.StartNew(() => { |
|
331 |
//System.Threading.Tasks.Task.Factory.StartNew(() => {
|
|
322 | 332 |
|
323 | 333 |
var _page = _thumbnailItems.Where(item => item.PageNumber == _pageNumber); |
324 | 334 |
if (_page.Count() > 0) |
... | ... | |
347 | 357 |
} |
348 | 358 |
} |
349 | 359 |
|
350 |
}).ConfigureAwait(false); |
|
360 |
//}).ConfigureAwait(false);
|
|
351 | 361 |
} |
352 | 362 |
catch(Exception ex) |
353 | 363 |
{ |
... | ... | |
629 | 639 |
} |
630 | 640 |
|
631 | 641 |
this.lstSelectComment.ItemsSource = this.UsersCommentPagesList; //섬네일 |
632 |
|
|
633 | 642 |
Logger.sendCheckLog("SetComme6ntList_ImgListbox 설정", 1); |
634 | 643 |
|
635 | 644 |
|
내보내기 Unified diff