public static void InvokeGLPainterReady(DemoBase demo, GLPainterContext pcx, GLPainter painter) { demo.OnGLPainterReady(painter); demo.OnReadyForInitGLShaderProgram(); }