public object Format(object val) { int ival = (int)val; IconValue result = new IconValue() { RealValue = ival, IconFile = ival % 10000, IconType = (IconType)(ival / 10000) }; return(result); }
public object Format(object val) { int ival = (int)val; IconValue result = new IconValue() { RealValue = ival, IconFile = ival % 10000, IconType = (IconType)(ival / 10000) }; return result; }