Exemple #1
0
        private void btn2PlayersGame_Click(object sender, RoutedEventArgs e)
        {
            WindowsCuarenta w = new WindowsCuarenta(true, "", 2, 3);

            this.Close();
            w.Show();
        }
        private void btnJoin_Click(object sender, RoutedEventArgs e)
        {
            ip = txtIp.Text;
            //prueba = new Client(ip);
            WindowsCuarenta w = new WindowsCuarenta(false, ip, 4, 1);

            this.Close();
            w.Show();
        }