protected override void OnFullscreenChanged(Size displaySize, bool wantFullscreen)
 {
     swapChain.SetFullscreenState(wantFullscreen, null);
     base.OnFullscreenChanged(displaySize, wantFullscreen);
 }