public static void Main() { try { (FrameWidth, FrameHeight) = LayoutContext.GetFrameSize(); Render(); } catch (Exception e) { Console.Error.WriteLine(e); } }
public static void Main() { try { init_system_controls(); (FrameWidth, FrameHeight) = LayoutContext.GetFrameSize(); Render(); while (wait_for_events()) { } } catch (Exception e) { Console.Error.WriteLine(e); } }