Пример #1
0
 public void Dispose()
 {
     if (D3D11RenderingPane != null)
     {
         D3D11RenderingPane.Dispose();
         D3D11RenderingPane = null;
     }
 }
Пример #2
0
 public void ResizeRenderingPane(object sender, EventArgs eventArgs)
 {
     mResizeTimer.Stop();
     D3D11RenderingPane.SetSize((Size)mResizeTimer.Tag);
     D3D11RenderingPane.PauseRendering = false;
 }