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