Power off stuff

This commit is contained in:
Tim Young 2018-02-14 17:10:28 +00:00
parent fd7a9bd48a
commit aa07337f05
2 changed files with 3 additions and 2 deletions

View File

@ -226,7 +226,8 @@ namespace EduNetworkBuilder
{
cbDest.Items.Add(NB.Translate("_All"));
}
else if (ToEdit.TheTest == NetTestType.DeviceIsFrozen)
else if (ToEdit.TheTest == NetTestType.DeviceIsFrozen || ToEdit.TheTest == NetTestType.DeviceBlowsUpWithPower
|| ToEdit.TheTest == NetTestType.DeviceNeedsUPS)
{
cbDest.Items.Add(ToEdit.sHost);
}

View File

@ -1084,7 +1084,7 @@ namespace EduNetworkBuilder
myNet.Invalidate(Location);
}
Image tImage = MyImage;
if (MorphColor != Color.Empty || PowerOff == false)
if (MorphColor != Color.Empty || PowerOff == true)
tImage = ColoredImage(MyImage);
if (IsBurned)
tImage = BurnedImage(tImage);