Merge branch 'master' of http://www.scserverddns.top:13000/sc/DyeingComputer
This commit is contained in:
commit
468b63fd8b
6 files changed
+77
-17
No files matched your search
@@ -12,8 +12,8 @@ namespace DyeingComputer.ConvertMoels
|
||||
{
|
||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
bool G = System.Convert.ToBoolean(value);
|
||||
if (!G)//判断单元格值是否为零
|
||||
string G = System.Convert.ToString(value);
|
||||
if (G=="0")//判断单元格值是否为零
|
||||
{
|
||||
return "black";//零返回
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user