provide a static Parse(string) method to play well with autoparse (StringExtensions.Parse)
This commit is contained in:
parent
a8bf093b92
commit
031f268cca
@ -68,6 +68,10 @@ namespace MBS.Framework.Drawing
|
|||||||
return color;
|
return color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static Color Parse(string value)
|
||||||
|
{
|
||||||
|
return Color.FromString(value);
|
||||||
|
}
|
||||||
public static Color FromString(string value)
|
public static Color FromString(string value)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user