예제 #1
0
 internal void RemoveDeviceFromDeviceList(EgsDevice device)
 {
     if (DeviceList.Contains(device) == false)
     {
         return;
     }
     device.Close();
     DeviceList.Remove(device);
     // TODO: MUSTDO: delete MessageReceivingForm.CurrentDevice itself
     MessageReceivingForm.CurrentDevice = null;
 }