Exemplo n.º 1
0
 public ChatForm(IUser user, string teacherName)
 {
     InitializeComponent();
     conversation = new Conversation(user, PrintMessage, teacherName);
     conversation.ConnectToServer();
     Text = user.GetDecryptedUserName();
     messageTextBox.Focus();
 }