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