private void multiJoin_Click(object sender, EventArgs e) { try { WaitingRoom r = new WaitingRoom(multiName.Text, Convert.ToInt32(portNumber.Text)); r.ShowDialog(); r.Stop(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void multiHost_Click(object sender, EventArgs e) { try { WaitingRoom r = new WaitingRoom(multiName.Text); r.ShowDialog(); r.Stop(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }