private void Load_Control_ReCombine<T>(List<T> list, string propertyName, string RecombineID)
{
try
{
FieldInfo fieldInfo = typeof(T).GetField(propertyName);
foreach (T te in list)
{
string LabelID = (string)(fieldInfo.GetValue(te));
catch (Exception error)
{
MessageBox.Show(error.Message);
}
}
浙公网安备 33010602011771号