Example #1
0
        public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
        {
            AwardListItem ali = (AwardListItem)value;

            if (destinationType == typeof(String))
            {
                return("");
            }
            return(base.ConvertTo(context, culture, value, destinationType));
        }
Example #2
0
 public AwardListPropertyDescriptor(AwardList prop, Attribute[] attrs, int Count) : base(Count.ToString(), attrs)
 {
     ali = prop.ALI;
 }