Exemplo n.º 1
0
 public static void Main(string[] args)
 {
     Application.Init ();
     MainWindow win = new MainWindow ();
     win.Show ();
     Application.Run ();
 }
Exemplo n.º 2
0
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     MainWindow Main = new MainWindow();
     Main.Show();
     this.Close();
 }