public static void ForceRedraw(this OpenGLControl openGLControl) { MethodInfo methodInfo = openGLControl.GetType().GetMethod("UpdateOpenGLControl", BindingFlags.NonPublic | BindingFlags.Instance); methodInfo.Invoke(openGLControl, new object[] { (int)openGLControl.ActualWidth, (int)openGLControl.ActualHeight }); }