From 4800d7686b470b3a39314e76ea02daee790078b7 Mon Sep 17 00:00:00 2001 From: Trey <32907415+TheEdgeNK@users.noreply.github.com> Date: Sun, 26 Aug 2018 00:35:17 -0400 Subject: Chatter, ChatAPI, and other changes. --- PortEngine/ChatAPI.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 PortEngine/ChatAPI.cs (limited to 'PortEngine/ChatAPI.cs') diff --git a/PortEngine/ChatAPI.cs b/PortEngine/ChatAPI.cs new file mode 100644 index 0000000..667a016 --- /dev/null +++ b/PortEngine/ChatAPI.cs @@ -0,0 +1,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(" " + txtPending.Text + Environment.NewLine); + txtPending.Clear(); + } + } +} -- cgit v1.2.3