Exemplo n.º 1
0
        private void MainTimer_Tick(object sender, EventArgs e)
        {
            enableButton.Enabled           = true;
            disableButton.Enabled          = true;
            UpdateList.Enabled             = true;
            exitButton.Enabled             = true;
            onEthernetDownButton.Enabled   = true;
            onEthernetDownTextBox.Enabled  = true;
            offEthernetDownButton.Enabled  = true;
            offEthernetDownTextBox.Enabled = true;

            onEthernetDownTextBox.Clear();
            offEthernetDownTextBox.Clear();

            UpdateList.PerformClick();

            MainTimer.Stop();
        }