示例#1
0
    public static void Main(string [] args)
    {
        Application.Init("Basic Sample", ref args);

        Program program = Program.Instance;

        Hildon.Window window = new Hildon.Window ();
        window.Destroyed += delegate { Application.Quit (); };

        Image image = new Image("gorilla.png");
        window.Add (image);
        window.ShowAll ();

        program.AddWindow (window);
        Application.Run ();
    }
示例#2
0
    public static void Main(string [] args)
    {
        Application.Init("Basic Sample", ref args);

        Program program = Program.Instance;

        Hildon.Window window = new Hildon.Window();
        window.Destroyed += delegate { Application.Quit(); };

        Image image = new Image("gorilla.png");

        window.Add(image);
        window.ShowAll();

        program.AddWindow(window);
        Application.Run();
    }