aboutsummaryrefslogtreecommitdiff
path: root/PortEngine/ChatAPI.cs
blob: 667a01642f481c2e0e96f939900f9eb4d4e85a2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;


namespace PortEngine
{
    public class ChatAPI
    {
        public static void SendMessage(TextBox txtPending, TextBox txtDestination)
        {
            txtDestination.AppendText("<Player> " + txtPending.Text + Environment.NewLine);
            txtPending.Clear();
        }
    }
}