private void InitializeModel() { var searcher = new Models.DeviceSearcher(); var screen = new Models.Screen(); m_timer = new DispatcherTimer(); m_timer.Tick += new EventHandler <object>((obj, evt) => { m_model.Start(); }); m_timer.Interval = new TimeSpan(0, 0, 30); m_model = new Models.GeneralModel(searcher, screen); }
public void Stop() { DeviceSearcher.Stop(); }
public void Start() { DeviceSearcher.Start(); }