Ejemplo n.º 1
0
        private void btn_Send_Click(object sender, EventArgs e)
        {
            // MessageBox.Show("hi");

            //ChatBoxShow chatMess = new ChatBoxShow(playerName, txt_Mess.Text);
            if (txt_Mess.Text != "")
            {
                //chatBox.Items.Add("hi");
                ChatBoxShow chatMess = new ChatBoxShow(playerName, txt_Mess.Text);
                CaroBoardUI caro     = new CaroBoardUI();

                chatBox.Items.Add(chatMess);
                chatBox.Items.Add(caro);
            }
        }
Ejemplo n.º 2
0
        private void btn_Send_Click(object sender, EventArgs e)
        {
           // MessageBox.Show("hi");
            
            //ChatBoxShow chatMess = new ChatBoxShow(playerName, txt_Mess.Text);
          if (txt_Mess.Text != "")
          { 
              //chatBox.Items.Add("hi");
                ChatBoxShow chatMess = new ChatBoxShow(playerName, txt_Mess.Text);
                CaroBoardUI caro = new CaroBoardUI();

                chatBox.Items.Add(chatMess);
                chatBox.Items.Add(caro);
              
            }
        }