Example #1
0
        private void ResetXml_button_Click(object sender, EventArgs e)
        {
            //重新创建xml文件
            XmlOP reset = new XmlOP();

            reset.creXml();
        }
Example #2
0
 private void AutoConnect_Load(object sender, EventArgs e)
 {
     wifiName = wifi.ScanSSID();                      //获取wifi名
     foreach (WIFISSID SSID in wifiName)
     {
         WifiName_comboBox.Items.Add(SSID.SSID);     //显示
     }
     if (!IsXML())
     {
         XmlOP creXml = new XmlOP();
         creXml.creXml();
     }
     getStyle();
 }