Interaction logic for MainWindow.xaml
Inheritance: MahApps.Metro.Controls.MetroWindow
Exemple #1
0
 void HandleClickedCocoa(object sender, EventArgs e)
 {
     nativeToolkit.Invoke (delegate {
         MainWindow w = new MainWindow ();
         w.Show ();
     });
 }
Exemple #2
0
        public static void Run(ToolkitType type)
        {
            Application.Initialize (type);

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

            Application.Run ();

            w.Dispose ();
        }
Exemple #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 ();
        }
Exemple #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 ();
        }
Exemple #5
0
 void HandleClicked(object sender, EventArgs e)
 {
     MainWindow w = new MainWindow ();
     w.Show ();
 }