Ejemplo n.º 1
0
 private void list_view_devices_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (list_view_devices.SelectedItems.Count > 0)
     {
         var id = GetTagSelectedDevice();
         _controller.SelectDevice(id);
     }
     else
     {
         FillListDevices(_controller.GetDevices());
     }
     EnableDeviceButtons();
 }