示例#1
0
        private void btStop_Click(object sender, EventArgs e)
        {
            _inputProvider.Stop();

            CheckForChange.Stop();
            CheckForChange.Enabled = false;
        }
示例#2
0
        private void btStart_Click(object sender, EventArgs e)
        {
            _inputProvider.Initialize();

            CheckForChange.Interval = _config.CheckInterval;
            CheckForChange.Enabled  = true;
            CheckForChange.Start();
        }