Пример #1
0
 private Color_ ParseColor(string color)
 {
     if (color.IndexOf ("#") >= 0) {
         return Color_.FromArgb (int.Parse (color.Substring (color.IndexOf ("#") + 1), NumberStyles.HexNumber));
     }
     return Color_.FromName (color);
 }