개정판 26ec6226
issue #00000 copy&Paste 수정
Change-Id: I05c6141221f180d7f53d8f19929ed32d56977085
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
557 | 557 |
{ |
558 | 558 |
try |
559 | 559 |
{ |
560 |
Dispatcher.BeginInvoke((Action)delegate () { ViewerDataModel.Instance.DownloadFileProgress = (int)e.Progress; }); |
|
560 |
Dispatcher.BeginInvoke((Action)delegate () |
|
561 |
{ |
|
562 |
if ((sender as IIpc.WcfServer).IsOpen) |
|
563 |
{ |
|
564 |
ViewerDataModel.Instance.DownloadFileProgress = (int)e.Progress; |
|
565 |
} |
|
566 |
|
|
567 |
}); |
|
561 | 568 |
|
562 |
if (e.IsFinish)
|
|
569 |
if ((sender as IIpc.WcfServer).IsOpen)
|
|
563 | 570 |
{ |
564 |
ViewerDataModel.Instance.SystemMain.dzMainMenu.searchPanel_Instance.SetSerachPDFFile(instnaceFile); |
|
565 |
ViewerDataModel.Instance.IsDownloadOriginal = true; |
|
566 |
(sender as IIpc.WcfServer).IpcFileDownloadReceived -= WcfServer_IpcFileDownloadReceived; |
|
567 |
(sender as IIpc.WcfServer).Stop(); |
|
571 |
if (e.IsFinish) |
|
572 |
{ |
|
573 |
ViewerDataModel.Instance.SystemMain.dzMainMenu.searchPanel_Instance.SetSerachPDFFile(instnaceFile); |
|
574 |
ViewerDataModel.Instance.IsDownloadOriginal = true; |
|
575 |
(sender as IIpc.WcfServer).Stop(); |
|
576 |
(sender as IIpc.WcfServer).IpcFileDownloadReceived -= WcfServer_IpcFileDownloadReceived; |
|
577 |
} |
|
568 | 578 |
} |
569 | 579 |
} |
570 | 580 |
catch (Exception ex) |
... | ... | |
683 | 693 |
System.Diagnostics.Debug.WriteLine("pageNavigator PageChanging"); |
684 | 694 |
// await PageLoadAsync(e.CurrentPage,e.PageNumber); |
685 | 695 |
//} |
686 |
|
|
687 | 696 |
//private async Task PageLoadAsync(DOCPAGE page, int PageNo) |
688 | 697 |
//{ |
689 | 698 |
DOCPAGE page = e.CurrentPage; |
... | ... | |
6181 | 6190 |
{ |
6182 | 6191 |
public string Title { get; set; } |
6183 | 6192 |
} |
6193 |
|
|
6194 |
|
|
6184 | 6195 |
} |
내보내기 Unified diff