public void Dispose() { if (D3D11RenderingPane != null) { D3D11RenderingPane.Dispose(); D3D11RenderingPane = null; } }
public void ResizeRenderingPane(object sender, EventArgs eventArgs) { mResizeTimer.Stop(); D3D11RenderingPane.SetSize((Size)mResizeTimer.Tag); D3D11RenderingPane.PauseRendering = false; }