Example #1
0
 private void richTextBoxChatIn_TextChanged(object sender, EventArgs e)
 {
     Sock.MyTypingStatus(true);
     updateToolStrip();
     _lastTyped.Stop(); // resets timer
     _lastTyped.Start();
     GC.Collect();      // just helps ok
 }
Example #2
0
 private void richTextBoxChatIn_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode.Equals(Keys.Enter))
     {
         if (Control.ModifierKeys != Keys.Shift)
         {
             e.Handled = true;
             Sock.MyTypingStatus(false);
             processTypedMessage(this.richTextBoxChatIn.Text);
         }
     }
 }
Example #3
0
 private void _lastTyped_Tick(object sender, EventArgs e)
 {
     Sock.MyTypingStatus(false);
     updateToolStrip();
 }