Beispiel #1
0
 private void RefreshWindowView()
 {
     this.WindowView.Dispatcher.BeginInvoke(new Action(() =>
     {
         try
         {
             WindowView.Source = Helper.BitmapToBitmapSource(_WindowView);
         }
         catch (Exception ex)
         {
             Debug.Write($"Refresh Error:{ex.Message}");
         }
     }));
 }
Beispiel #2
0
 private void RefreshRemoteView()
 {
     this.RemoteView.Dispatcher.BeginInvoke(new Action(() =>
     {
         try
         {
             if (_RemoteView == null)
             {
                 return;
             }
             RemoteView.Source = Helper.BitmapToBitmapSource(_RemoteView);
         }
         catch (Exception ex)
         {
             Debug.Write($"Refresh Error:{ex.Message}");
         }
     }));
 }