// Returns a StandardValuesCollection of standard value objects.
        public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
        {
            string cs  = null;
            var    svc = new StandardValuesCollection(values);

            if (context.Instance != null)
            {
                cs = RadarUtils.GetPropertyValue(context.Instance, "ConnectionString") as string;
            }

            //if (cs.IsFill())
            //    svc = new StandardValuesCollection(MDConnectionEditor.GetCubeNames(cs).ToList());

            return(svc);
        }
Example #2
0
 internal static string ColorToString(this Color c)
 {
     return(RadarUtils.ColorToString(c));
 }
Example #3
0
 internal static string ColorToString(this Color c, bool withoutAlpha)
 {
     return(RadarUtils.ColorToString(c, withoutAlpha));
 }