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)); } }
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)); } }