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