/// <summary>
 /// Handles the RenderingDeviceReplaced event
 /// </summary>
 /// <param name="sender">CompositionGraphicsDevice</param>
 /// <param name="args">RenderingDeviceReplacedEventArgs</param>
 private void RenderingDeviceReplaced(CompositionGraphicsDevice sender, RenderingDeviceReplacedEventArgs args)
 {
     RaiseDeviceReplacedEvent();
 }
Beispiel #2
0
 private void RenderingDeviceReplaced(CompositionGraphicsDevice sender, RenderingDeviceReplacedEventArgs args)
 {
     Debug.WriteLine("CompositionImageLoader - Rendering Device Replaced");
     Task.Run(() =>
     {
         if (DeviceReplacedEvent != null)
         {
             RaiseDeviceReplacedEvent();
         }
     });
 }
 void CompositionGraphicsDevice_RenderingDeviceReplaced(CompositionGraphicsDevice sender, RenderingDeviceReplacedEventArgs args)
 {
     DrawDrawingSurface();
 }