개정판 72424099
Markus.ImageComparer/ImageComparerBase.cs Parallel.ForEach 제거
Change-Id: I2875826245d2ce1530ffb6ffe712615d17b4a36e
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
630 | 630 |
/// <param name="e"></param> |
631 | 631 |
private async void pageNavigator_PageChanging(object sender, Controls.Sample.PageChangeEventArgs e) |
632 | 632 |
{ |
633 |
// 마크업 로드 |
|
634 |
await this.Dispatcher.InvokeAsync(()=>MarkupLoad(e.PageNumber)); |
|
633 |
await Task.Delay(10); |
|
635 | 634 | |
635 |
// 마크업 로드 |
|
636 |
//await this.Dispatcher.InvokeAsync(()=>MarkupLoad(e.PageNumber)); |
|
637 |
await MarkupLoadAsync(e.PageNumber); |
|
636 | 638 | |
637 | 639 |
// 페이지 이미지 변경 |
638 | 640 |
await PageChangingAsync(e.CurrentPage, e.PageNumber); |
... | ... | |
809 | 811 |
ViewerDataModel.Instance.LoadPageMarkup(); |
810 | 812 |
} |
811 | 813 | |
812 |
private async void MarkupLoad(int pageNumber)
|
|
814 |
private async Task MarkupLoadAsync(int pageNumber)
|
|
813 | 815 |
{ |
814 | 816 |
System.Diagnostics.Stopwatch stopwatch = new Stopwatch(); |
815 | 817 |
stopwatch.Start(); |
내보내기 Unified diff