public static void BindEnumControl(this ListControl bindControl, Enum objEnum, ShowEnumType text, ShowEnumType value, HeaderType headerType = 0) { bindControl.BindEnumControl(objEnum.GetType(), text, value, headerType); }
public static void BindEnumControl(this ListControl bindControl, Type enumType, HeaderType headerType = 0) { bindControl.BindEnumControl(enumType, ShowEnumType.Description, ShowEnumType.Value, headerType); }