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