예제 #1
0
        public Color GetByTypeAndValue(CountryColorValueType type, double value, Color defColor)
        {
            Colouring c = null;

            if (_diction.TryGetValue((byte)type, out c))
            {
                defColor = Color.FromArgb(c.GetColor(value));
            }

            return(defColor);
        }