示例#1
0
        /// <summary>
        /// Slow Timer
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void tbrGUISlow_Tick(object sender, EventArgs e)
        {
            lblMAC.Text     = _ap.getMACAddress();
            lblChannel.Text = _ap.getOperateChannel().ToString();
            lblBand.Text    = _ap.Freq.ToString() + " " + _ap.Stand80211.ToString();
            lblSSID.Text    = _ap.SSID;

            ArrayListCounted devicesList = _ap.GetAssociatedDevices();

            listStations.Items.Clear();
            foreach (object __o in devicesList)
            {
                string s = (string)__o;
                listStations.Items.Add(s);
                // loop body
            }

            if (_ap._LOG.Length > 0)
            {
                cmdShowLog.Enabled = true;
            }
            UpdateStandartSupport();

            if (!_ap.isEnabled())
            {
                this.Close();
            }
        }