public DeviceController(IRepository<Device> deviceRepository, IRepository<PeripheralDevice> peripheralRepository)
 {
     this.deviceRepository = deviceRepository;
     peripheralDeviceController = new PeripheralDeviceController(peripheralRepository);
     deviceListView = new DeviceListView(this.deviceRepository);
 }
Example #2
0
 private void OnRefresh(object sender, EventArgs e)
 {
     RefreshAll();
     DeviceListView.EndRefresh();
 }