public void TakeScreenshot(string filename) { Bitmap bitmap = mGLControl.GrabScreenshot(); bitmap.Save(filename); }