protected override void OnResize(EventArgs e) { DualityApp.TargetResolution = new Vector2(ClientSize.Width, ClientSize.Height); }