public void Initialize(ISharpControl control) { _guiControl = new AutoStartPanel(); _control = control; Timer timer = new Timer(); timer.Interval = DEFAULT_INTERVAL; timer.Tick += (sender, e) => { timer.Enabled = false; StartRadio(); }; timer.Enabled = true; }
public void Initialize(ISharpControl control) { _guiControl = new AutoStartPanel(); _control = control; _frequency = Utils.GetLongSetting("asrfrequency", 0); Timer timer = new Timer(); timer.Interval = DEFAULT_INTERVAL; timer.Tick += (sender, e) => { timer.Enabled = false; StartRadio(); }; timer.Enabled = true; }