示例#1
0
 void multimediaManager_DeviceErrorOccurred(MultimediaDeviceType deviceType, int deviceIndex, string error)
 {
     if (this.InvokeRequired)
     {
         this.BeginInvoke(new CbGeneric <MultimediaDeviceType, int, string>(this.multimediaManager_DeviceErrorOccurred), deviceType, deviceIndex, error);
     }
     else
     {
         MessageBox.Show(string.Format("Error : {0} - {1}", deviceType, error));
     }
 }
示例#2
0
 void multimediaManager_DeviceErrorOccurred(MultimediaDeviceType deviceType, int deviceIndex, string error)
 {
     if (this.InvokeRequired)
     {
         this.BeginInvoke(new CbGeneric<MultimediaDeviceType, int, string>(this.multimediaManager_DeviceErrorOccurred), deviceType, deviceIndex ,error);
     }
     else
     {
         MessageBox.Show(string.Format("Error : {0} - {1}" ,deviceType,error));
     }
 }