Ejemplo n.º 1
0
 public static void Main(string[] args)
 {
     Application.Init ();
     MainWindow win = new MainWindow ();
     win.Show ();
     Application.Run ();
 }
Ejemplo n.º 2
0
 public void ShowMainForm(int power,Staff curStaff)
 {
     MainWindow frm = new MainWindow(curStaff,power);
     frm.Show();
     //this.Visibility = Visibility.Hidden;
 }