コード例 #1
0
 private void HostSelectButton_Click(object sender, EventArgs e)
 {
     WhiteSelect2.TabStop = false;
     BlackSelect2.TabStop = false;
     pictureBox2.Hide();
     label9.Hide();
     ClientSelectButton.Hide();
     HostSelectButton.Hide();
     pleaseWaitLabel.Hide();
     ipInformationLabel.Text = GetIPAddress();
     MainGame.serverState    = 1;
 }
コード例 #2
0
 private void ClientSelectButton_Click(object sender, EventArgs e)
 {
     WhiteRadio.TabStop = false;
     BlackRadio.TabStop = false;
     ipLabel.Hide();
     PortForwardInfoButton.Hide();
     ipInformationLabel.Hide();
     label8.Hide();
     textBox1.Hide();
     startButton.Hide();
     pleaseWaitLabel.Hide();
     pictureBox1.Hide();
     pictureBox2.Hide();
     label9.Hide();
     ClientSelectButton.Hide();
     HostSelectButton.Hide();
     WhiteSelect2.Hide();
     BlackSelect2.Hide();
     label11.Hide();
     portLabel.Hide();
     portTextBox.Hide();
     MainGame.serverState = 0;
 }