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