public void OpenWin(string msn)
        {
            Window w = new Wining();

            w.ShowDialog();
            Close();
        }
Example #2
0
 public void OpenWin(string msn)
 {
     if (msn.Equals("won"))
     {
         Window w = new Wining();
         w.ShowDialog();
         Close();
     }
     if (msn.Equals("lost"))
     {
         Window w = new LoseWindow();
         w.ShowDialog();
         Close();
     }
 }