public static IList <ImageInformationSet> CreateDefaultLeftCursorImageInformationSetList() { var src = ImageInformationSet.CreateDefaultImageInformationSetList(CursorImageSetListFolderRelativePath); var ret = src.Select(e => { e.AddImage((int)CursorImageIndexLabels.OpenHand, "Left_OpenHand.png"); e.AddImage((int)CursorImageIndexLabels.CloseHand, "Left_CloseHand.png"); //e.AddImage((int)CursorImageIndexLabelsForPowerPointViewer.OpenHandWithRightArrow, "Left_OpenHandWithRightArrow.png"); //e.AddImage((int)CursorImageIndexLabelsForPowerPointViewer.OpenHandWithLeftArrow, "Left_OpenHandWithLeftArrow.png"); return(e); }).ToList(); return(ret); }
internal static IList <ImageInformationSet> CreateDefaultCameraViewUserControlImagesFolderRelativePath() { var imageInfoSetList = ImageInformationSet.CreateDefaultImageInformationSetList(CameraViewUserControlImagesFolderRelativePath); var ret = imageInfoSetList.Select(oneImageSetInfo => { var imageFilePaths = Directory.GetFiles(oneImageSetInfo.FolderPath); int imageIndex = 0; foreach (var imagefilePath in imageFilePaths) { oneImageSetInfo.AddImage(imageIndex++, Path.GetFileName(imagefilePath)); } return(oneImageSetInfo); }).ToList(); return(ret); }