예제 #1
0
    public static void Main()
    {
        try {
            (FrameWidth, FrameHeight) = LayoutContext.GetFrameSize();

            Render();
        } catch (Exception e) {
            Console.Error.WriteLine(e);
        }
    }
예제 #2
0
    public static void Main()
    {
        try {
            init_system_controls();

            (FrameWidth, FrameHeight) = LayoutContext.GetFrameSize();

            Render();

            while (wait_for_events())
            {
            }
        } catch (Exception e) {
            Console.Error.WriteLine(e);
        }
    }