개정판 d04e8ee9
Sync Page 이동 수정
Change-Id: Ib0fbc85754ede89f83c1364ee77dc07f11ada633
KCOM/MainWindow.xaml.cs | ||
---|---|---|
481 | 481 |
smartupdaterpath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "SmartUpdate.exe"); |
482 | 482 |
Process.Start(smartupdaterpath, updateurl); |
483 | 483 |
} |
484 |
private void Client_DownloadFileCompleted(object sender, AsyncCompletedEventArgs e) |
|
484 |
private async void Client_DownloadFileCompleted(object sender, AsyncCompletedEventArgs e)
|
|
485 | 485 |
{ |
486 | 486 |
try |
487 | 487 |
{ |
488 |
Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(delegate |
|
489 |
{ |
|
490 |
progressControl.splashText.Text = "Download Completed"; |
|
491 |
})); |
|
488 |
await Dispatcher.InvokeAsync(()=> progressControl.splashText.Text = "Download Completed"); |
|
489 |
|
|
492 | 490 |
if(progressControl != null) |
493 | 491 |
{ |
494 | 492 |
progressControl.Close(); |
내보내기 Unified diff