KnownColor in Color wandeln

KnownColor K = (KnownColor)System.Enum.Parse(typeof(KnownColor), "Red");

Color C = System.Drawing.Color.FromKnownColor(K);

Schreibe einen Kommentar