private void ClearTextBox()
 {
     if (textBoxSend.InvokeRequired)
     {
         ClearTextBoxDelegate d = ClearTextBox;
         textBoxSend.Invoke(d);
     }
     else
     {
         textBoxSend.Clear();
         textBoxSend.Focus();
     }
 }
Exemple #2
0
 private void ClearTextBox()
 {
     if (R_SendMessage.InvokeRequired)
     {
         ClearTextBoxDelegate d = ClearTextBox;
         R_SendMessage.Invoke(d);
     }
     else
     {
         R_SendMessage.Clear();
         R_SendMessage.Focus();
     }
 }