Пример #1
0
        private void ConnectButton_Click(object sender, EventArgs e)
        {
            ChatForm chatForm = new ChatForm(teacher, "");

            chatForm.Show();
        }
Пример #2
0
        private void StartButton_Click(object sender, EventArgs e)
        {
            ChatForm chatForm = new ChatForm(user, (string)teacherBox.SelectedItem);

            chatForm.Show();
        }