Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. {
  2. listBox1.Items.Add(str[i]);
  3. }
  4.  
  5. }
  6. }
  7. else if (flag == USERCONNECTED)
  8. {
  9. listBox1.Items.Add(msg);
  10. }
  11. else if (flag == USERDISCONNECTED)
  12. {
  13. listBox1.Items.Remove(msg);
  14. }
  15. else if (flag == NOFORMAT) // non formatted
  16. {
  17. chatLog.AppendText(msg);
  18. chatLog.AppendText(Environment.NewLine);
  19. }
  20. else if (flag == LONGMSG)
  21. {
  22. chatLog.AppendText(msg);
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement