private void StopEvents() { ManagerRemote.LogLine("StopEvents"); if (m_usbDiscovery != null) { m_usbDiscovery.Dispose(); m_usbDiscovery = null; } if (m_emulatorDiscovery != null) { m_emulatorDiscovery.Dispose(); m_emulatorDiscovery = null; } }
private void StartEvents() { ManagerRemote.LogLine("StartEvents"); if (m_usbDiscovery == null) { m_usbDiscovery = new _DBG.UsbDeviceDiscovery(); m_usbDiscovery.OnDeviceChanged += new _DBG.UsbDeviceDiscovery.DeviceChangedEventHandler(OnDeviceChanged); } if (m_emulatorDiscovery == null) { m_emulatorDiscovery = new _DBG.EmulatorDiscovery(); m_emulatorDiscovery.OnEmulatorChanged += new _DBG.EmulatorDiscovery.EmulatorChangedEventHandler(OnEmulatorChanged); } }
private void StopEvents() { ManagerRemote.LogLine( "StopEvents" ); if(m_usbDiscovery != null) { m_usbDiscovery.Dispose(); m_usbDiscovery = null; } if(m_emulatorDiscovery != null) { m_emulatorDiscovery.Dispose(); m_emulatorDiscovery = null; } }
private void StartEvents() { ManagerRemote.LogLine( "StartEvents" ); if(m_usbDiscovery == null) { m_usbDiscovery = new _DBG.UsbDeviceDiscovery(); m_usbDiscovery.OnDeviceChanged += new _DBG.UsbDeviceDiscovery.DeviceChangedEventHandler( OnDeviceChanged ); } if(m_emulatorDiscovery == null) { m_emulatorDiscovery = new _DBG.EmulatorDiscovery(); m_emulatorDiscovery.OnEmulatorChanged += new _DBG.EmulatorDiscovery.EmulatorChangedEventHandler( OnEmulatorChanged ); } }