diff options
Diffstat (limited to 'PortEngine/ChatAPI.cs')
| -rw-r--r-- | PortEngine/ChatAPI.cs | 19 |
1 files changed, 19 insertions, 0 deletions
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("<Player> " + txtPending.Text + Environment.NewLine); + txtPending.Clear(); + } + } +} |
