aboutsummaryrefslogtreecommitdiff
path: root/PortEngine/ChatAPI.cs
blob: ae1f27bfae15da3b2de2ce0d62de395bbaca678b (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("<" + Properties.Settings.Default.userDisplayName + "> " + txtPending.Text + Environment.NewLine);
            txtPending.Clear();
        }
    }
}