protected override void UpdateNode(TreeNode treeNode, object item, string text, string icon)
{
base.UpdateNode(treeNode, item, text, icon);
ServerTestCase testCase = item as ServerTestCase;
if (testCase != null)
{
treeNode.Checked = testCase.Enabled;
}
if (testCase.Breakpoint)
{
treeNode.ImageKey = treeNode.SelectedImageKey = GuiUtils.Icons.Method;
}
else
{
treeNode.ImageKey = treeNode.SelectedImageKey = GuiUtils.Icons.Property;
}
}
#endregion