Beispiel #1
0
 private void goButton_Click(object sender, EventArgs e)
 {
     if (thisPC.Checked)
     {
         FormPlayVsHuman vsHuman = new FormPlayVsHuman(setting);
         vsHuman.Visible = true;
         this.Visible    = false;
     }
     else
     {
         //SocketManagement sm = new SocketManagement("192.168.173.1", 8000);
         //sm.startAsClient();
         IPAddressForm ipForm = new IPAddressForm(setting);
         ipForm.Visible = true;
         this.Visible   = false;
     }
 }
Beispiel #2
0
        private void goButton_Click(object sender, EventArgs e)
        {
            if (thisPC.Checked)
            {
                FormPlayVsHuman vsHuman = new FormPlayVsHuman(setting);
                vsHuman.Visible = true;
                this.Visible=false;
            }
            else {

                //SocketManagement sm = new SocketManagement("192.168.173.1", 8000);
                //sm.startAsClient();
                IPAddressForm ipForm = new IPAddressForm(setting);
                ipForm.Visible = true;
                this.Visible = false;
            }
        }