コード例 #1
0
 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);
     }
 }
コード例 #2
0
 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);
     }
 }