public GraphicsDevice(IntPtr hwnd, Size size, int RefreshRate) { //VideoMemory videoMemory = new VideoMemory(GetDC(hwnd), size, RefreshRate); }