PropertyInfo[] poroInfo = typeof(Resources).GetProperties(System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Static); poroInfo = poroInfo.Where(item => item.PropertyType == typeof(Bitmap)).ToArray(); List<Bitmap> bmpList = poroInfo.Select<PropertyInfo, Bitmap>(item => (Bitmap)item.GetValue(item, null)).ToList();
浙公网安备 33010602011771号