Exemplo n.º 1
0
 void HandleClickedCocoa(object sender, EventArgs e)
 {
     nativeToolkit.Invoke (delegate {
         MainWindow w = new MainWindow ();
         w.Show ();
     });
 }
Exemplo n.º 2
0
Arquivo: App.cs Projeto: garuma/xwt
        public static void Run(ToolkitType type)
        {
            Application.Initialize (type);

            MainWindow w = new MainWindow ();
            w.Show ();

            Application.Run ();

            w.Dispose ();
        }
Exemplo n.º 3
0
        public static void Run(string engineType)
        {
            Application.Initialize (engineType);

            MainWindow w = new MainWindow ();
            w.Title = "Xwt Demo Application";
            w.Width = 500;
            w.Height = 400;
            w.Show ();

            Application.Run ();

            w.Dispose ();
        }
Exemplo n.º 4
0
        public static void Run(ToolkitType type)
        {
            Application.Initialize (type);

            MainWindow w = new MainWindow () {
                Title = "ControlSuite - CSPlot Samples",
                Width = 800,
                Height = 600
            };
            w.Show ();

            Application.Run ();

            w.Dispose ();
        }
Exemplo n.º 5
0
 void HandleClicked(object sender, EventArgs e)
 {
     MainWindow w = new MainWindow ();
     w.Show ();
 }