public static INativeWindow CreateWindow(int width, int height, string title, GraphicsMode mode, DisplayDevice device) { int x = device.Bounds.Left + (device.Bounds.Width - width) / 2; int y = device.Bounds.Top + (device.Bounds.Height - height) / 2; return(Default.CreateWindow(x, y, width, height, title, mode, device)); }