add_reboot #4

Merged
klavirshik merged 53 commits from add_reboot into main 2024-09-06 14:39:49 +00:00
1 changed files with 4 additions and 12 deletions
Showing only changes of commit 7035c8cbd9 - Show all commits

View File

@ -227,19 +227,11 @@ namespace Reseter2
private void treeView1_ChangePrentRootCheckBox(TreeNode treeNode)
{
treeView1_treeViewChangeRootCheckBox(treeNode);
if (treeNode.Parent != null)
{
{
treeView1_treeViewChangeRootCheckBox(treeNode.Parent);
if (treeNode.Parent.Parent != null)
{
treeView1_ChangePrentRootCheckBox(treeNode.Parent);
}
treeView1_ChangePrentRootCheckBox(treeNode.Parent);
}
}
@ -288,7 +280,7 @@ namespace Reseter2
}
}
treeView1_treeViewChangeCheckBox(e.Node);
treeView1_ChangePrentRootCheckBox(e.Node);
// for (int i = 0; i < tree.Nodes.Count; i++)