Пример #1
0
 private void cmbact_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (cmbact.Text == "Free")
     {
         ChatwithStudent form = new ChatwithStudent();
         form.Show();
     }
 }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            ChatwithStudent form = new ChatwithStudent();

            form.Show();
        }