public static void Main(string[] args) { AppWidgetFactory appWidget = new LionOutlineFactory(); appWidget.CreateWidgetAndRunInWindow(); //appWidget.CreateWidgetAndRunInWindow(surfaceType: AppWidgetFactory.RenderSurface.OpenGL); }