/// <summary>
 /// Change the gui to match an updated state
 /// </summary>
 /// <param name="devState"></param>
 public void SetDeviceState(Pioneer1120.Pioneer1120State devState)
 {
     //try
     //{
         commonControls1.volume1.VolumeState = devState.CurrentVolumeState;
     //}
     //catch(Exception e)
     //{
     //    MessageBox.Show("Error setting Volume state");
     //}
 }
Ejemplo n.º 2
0
 /// <summary>
 /// same as tabController1.SetDeviceState(eng.DevState) was having threading issues
 /// </summary>
 /// <param name="st"></param>
 public void UpdateDevState(Pioneer1120.Pioneer1120State st)
 {
     eng_DeviceStateUpdateFromDevice(null, null);
 }