Example #1
0
        protected string OnFormatEnum(object value)
        {
            FormatEventArgs e = new FormatEventArgs(value);
            if (FormatEnum != null)
                FormatEnum(this, e);

            return e.Target;
        }
Example #2
0
        protected string OnFormatEnum(object value)
        {
            FormatEventArgs e = new FormatEventArgs(value);

            if (FormatEnum != null)
            {
                FormatEnum(this, e);
            }

            return(e.Target);
        }