Утренние Правки
This commit is contained in:
parent
7551ca5dcf
commit
7035c8cbd9
|
|
@ -227,19 +227,11 @@ namespace Reseter2
|
||||||
|
|
||||||
private void treeView1_ChangePrentRootCheckBox(TreeNode treeNode)
|
private void treeView1_ChangePrentRootCheckBox(TreeNode treeNode)
|
||||||
{
|
{
|
||||||
treeView1_treeViewChangeRootCheckBox(treeNode);
|
|
||||||
if (treeNode.Parent != null)
|
if (treeNode.Parent != null)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
treeView1_treeViewChangeRootCheckBox(treeNode.Parent);
|
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);
|
treeView1_ChangePrentRootCheckBox(e.Node);
|
||||||
|
|
||||||
// for (int i = 0; i < tree.Nodes.Count; i++)
|
// for (int i = 0; i < tree.Nodes.Count; i++)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue