diff options
| author | TheEdgeNK <trey6979@gmail.com> | 2018-09-01 02:32:19 -0400 |
|---|---|---|
| committer | TheEdgeNK <trey6979@gmail.com> | 2018-09-01 02:32:19 -0400 |
| commit | edb312f607b202fb87c989a2120483eb9725f6d0 (patch) | |
| tree | 26549a8e0a049fa388d11fbc800c8b096eacb342 /Project Ports/Programs/ChatApp.cs | |
| parent | 269f6d0f4cbf556da4e4154143aa85fbf0448429 (diff) | |
| download | Project-Silicon-edb312f607b202fb87c989a2120483eb9725f6d0.tar.gz Project-Silicon-edb312f607b202fb87c989a2120483eb9725f6d0.tar.bz2 Project-Silicon-edb312f607b202fb87c989a2120483eb9725f6d0.zip | |
final changes for the night
Diffstat (limited to 'Project Ports/Programs/ChatApp.cs')
| -rw-r--r-- | Project Ports/Programs/ChatApp.cs | 33 |
1 files changed, 7 insertions, 26 deletions
diff --git a/Project Ports/Programs/ChatApp.cs b/Project Ports/Programs/ChatApp.cs index fd02c5d..3af3f64 100644 --- a/Project Ports/Programs/ChatApp.cs +++ b/Project Ports/Programs/ChatApp.cs @@ -41,40 +41,21 @@ namespace Project_Ports private void btnSendMSG_Click(object sender, EventArgs e) { - ChatAPI.SendMessage(txtMsgContents, txtSentMessages); + //ChatAPI.SendMessage(txtMsgContents, txtSentMessages); } private void txtMsgContents_KeyDown(object sender, KeyEventArgs e) { - if (e.KeyCode == Keys.Enter) - { - ChatAPI.SendMessage(txtMsgContents, txtSentMessages); - e.SuppressKeyPress = true; - } + //if (e.KeyCode == Keys.Enter) + //{ + //ChatAPI.SendMessage(txtMsgContents, txtSentMessages); + //e.SuppressKeyPress = true; + //} } private void ChatApp_Load(object sender, EventArgs e) { - /* - #if DEBUG - Properties.Settings.Default.chatterStoryline = false; - #endif - - if (Properties.Settings.Default.chatterStoryline == true) - { - txtSentMessages.AppendText("Adam has entered the channel..." + Environment.NewLine); - Thread.Sleep(2000); - txtSentMessages.AppendText("<Adam> Hey there user!" + Environment.NewLine); - Thread.Sleep(2000); - txtSentMessages.AppendText("<Adam> You need to set a name so I know who you are." + Environment.NewLine); - Thread.Sleep(2000); - txtSentMessages.AppendText("<Adam> Open a terminal and input do the following: \"changeusername --YourUsernameHere\"." + Environment.NewLine); - Thread.Sleep(10000); - txtSentMessages.AppendText("<Adam> Great!" + Environment.NewLine); - Thread.Sleep(2000); - txtSentMessages.AppendText("<Adam> Hello username" + Environment.NewLine); //TODO - - } */ + StorylineAPI.StartChatterEvent1(txtMsgContents); } } } |
