Ejemplo n.º 1
0
    public static void Main()
    {
        try {
            (FrameWidth, FrameHeight) = LayoutContext.GetFrameSize();

            Render();
        } catch (Exception e) {
            Console.Error.WriteLine(e);
        }
    }
Ejemplo n.º 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);
        }
    }