Exemple #1
0
        private void btnPlayerAgain_Click(object sender, RoutedEventArgs e)
        {
            Messege Messege = new Messege("Server", DateTime.Now.ToString("hh:mm:ss tt"), "Ván mới");

            chatBox.VerticalAlignment   = System.Windows.VerticalAlignment.Top;
            chatBox.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
            chatBox.Items.Add(Messege);
            MessageBox.Show("Bắt đầu chơi !!!", "Thông báo");
            banco.PlayAgain();
        }
Exemple #2
0
 private void btnPlayerAgain_Click(object sender, RoutedEventArgs e)
 {
     banco.PlayAgain();
 }