Beispiel #1
0
 public ScriptStyle(string name, Color fore, Color back, Font font)
 {
     Name = name;
     ForegroundColor = ColorSerializetionHelper.Serialize(fore);
       BackgroundColor = ColorSerializetionHelper.Serialize(back);
       FontProperties = FontSerializetionHelper.Serialize(font);
 }
Beispiel #2
0
 public static Color Deserialize(ColorProperties value)
 {
     return(Color.FromArgb(value.Alpha, value.Red, value.Green, value.Blue));
 }
Beispiel #3
0
 public static Color Deserialize(ColorProperties value)
 {
     return Color.FromArgb(value.Alpha, value.Red, value.Green, value.Blue);
 }