public void OpenWin(string msn) { Window w = new Wining(); w.ShowDialog(); Close(); }
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(); } }