Esempio n. 1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            //ip change
            OrgNICName  = ConfigurationManager.AppSettings["NICName"];
            OrgIPAdress = ConfigurationManager.AppSettings["IPAdress"];
            OrgSubnet   = ConfigurationManager.AppSettings["Subnet"];
            OrgGateway  = ConfigurationManager.AppSettings["Gateway"];

            this.Text = " [" + OrgNICName + "] [" + OrgIPAdress + "] [" + OrgSubnet + "] [" + OrgGateway + "]";

            //wifi scanner
            OnWifi = new OnWifiDelegate(OnWifiView);
            thrAP  = new Thread(ThreadList);
            thrAP.Start();

            //Net Check
            Init_Net_Check();
        }
Esempio n. 2
0
        private OnWifiDelegate OnWifi = null; //델리게이트 개체 생성

        private void Form1_Load(object sender, EventArgs e)
        {
            OnWifi = new OnWifiDelegate(OnWifiView);
            thrAP  = new Thread(ThreadList);
            thrAP.Start();
        }