private static extern void SetParamsImpl(IntPtr nativeDisplay, int width, int height, int x, int y); /// <summary>
public void SetParams(int width, int height, int x, int y) { Display.SetParamsImpl(this.nativeDisplay, width, height, x, y); }