Exemplo n.º 1
0
        public static void Main(string[] args)
        {
            //			Application.Init ();
            //
            //			builder b = new builder();
            //			b.DeleteEvent += HandleDeleteEvent;
            //			b.DestroyEvent += HandleDestroyEvent;
            //
            //			b.ShowAll();
            //
            //			Application.Run ();

            String engineType = "Xwt.GtkBackend.GtkEngine, Xwt.Gtk, Version=1.0.0.0";
            Application.Initialize (engineType);

            bob = new builder ();
            bob.Title = "Gladebuilder";
            bob.Width = 500;
            bob.Height = 400;
            bob.Show ();
            bob.Disposed += HandleDisposed;
            bob.CloseRequested += HandleCloseRequested;
            bob.Location = new Point(200,200);
            Application.Run ();

            bob.Dispose ();
        }
Exemplo n.º 2
0
        public static void Main(string[] args)
        {
//			Application.Init ();
//
//			builder b = new builder();
//			b.DeleteEvent += HandleDeleteEvent;
//			b.DestroyEvent += HandleDestroyEvent;
//
//			b.ShowAll();
//
//			Application.Run ();

            String engineType = "Xwt.GtkBackend.GtkEngine, Xwt.Gtk, Version=1.0.0.0";

            Application.Initialize(engineType);


            bob        = new builder();
            bob.Title  = "Gladebuilder";
            bob.Width  = 500;
            bob.Height = 400;
            bob.Show();
            bob.Disposed       += HandleDisposed;
            bob.CloseRequested += HandleCloseRequested;
            bob.Location        = new Point(200, 200);
            Application.Run();

            bob.Dispose();
        }