private void ThreadShowImageVoid() { if (showImageFlag == false) { showImageFlag = true; try { ImageTempleteItem itItem = PlayApp.ExecutePlayList.CurrentTempleteItem as ImageTempleteItem; if (itItem.CurrentIsChanged()) { LogApp.OutputProcessLog("MainForm", "ThreadShowImageVoid", string.Format("{0} - {1} - {2}", itItem.CurrentIndex, itItem.CurrentShowStyleIndex, DateTime.Now.ToLongTimeString())); itItem.ShowCurrent(picImage); } if (itItem.TempleteState == TempleteStateType.Stop) { itItem.ExecuteStop(); CloseImage(); return; } } catch (Exception ex) { LogApp.OutputErrorLog("MainForm", "ThreadShowImageVoid", ex); } finally { showImageFlag = false; } } }