public void RefreshList() { DeviceList.Clear(); numDevices = VIWrapper.ListDevices(); for (int i = 0; i < numDevices; i++) { DeviceList.Add(VIWrapper.GetDeviceName(i)); } }
public void RefreshList() { DeviceList.Clear(); numDevices = VIWrapper.ListDevices(); for (int i = 0; i < numDevices; i++) { DeviceList.Add(VIWrapper.GetDeviceName(i)); } OnPropertyChanged("DeviceID"); OnPropertyChanged("DeviceList"); }