// 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);
        }
Beispiel #2
0
 internal static string ColorToString(this Color c)
 {
     return(RadarUtils.ColorToString(c));
 }
Beispiel #3
0
 internal static string ColorToString(this Color c, bool withoutAlpha)
 {
     return(RadarUtils.ColorToString(c, withoutAlpha));
 }