Пример #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (GateCom.IsOpen)
     {
         GateCom.Write("Scan#");
         List_SSID.Items.Clear();
     }
 }
Пример #2
0
 private void Connect_Wifi_Click(object sender, EventArgs e)
 {
     if (GateCom.IsOpen)
     {
         GateCom.Write("(" + SSID_Name.Text + ")");
         GateCom.Write("[" + Password_Text.Text + "]" + "#");
     }
     else
     {
         ErrorText_WifiStatus.Text = "Please choose the COMPORT";
     }
 }