Beispiel #1
0
 private void merahOFF_CheckedChanged(object sender, EventArgs e)
 {
     if (merahOFF.Checked.Equals(true))
     {
         varGlobal.alamatIPServer = ipTujuan.Text;
         varGlobal.port           = Int16.Parse(portClient.Text);
         SocketTCP.StartClient("Merah,Mati");
     }
 }
Beispiel #2
0
 private void hijauOFF_CheckedChanged(object sender, EventArgs e)
 {
     varGlobal.alamatIPServer = ipTujuan.Text;
     varGlobal.port           = Int16.Parse(portClient.Text);
     SocketTCP.StartClient("Hijau,Mati");
 }
Beispiel #3
0
 private void kuningON_CheckedChanged(object sender, EventArgs e)
 {
     varGlobal.alamatIPServer = ipTujuan.Text;
     varGlobal.port           = Int16.Parse(portClient.Text);
     SocketTCP.StartClient("Kuning,Hidup");
 }