Change to expand the tree
This commit is contained in:
1 file changed
+4
-2
@@ -1,5 +1,4 @@
|
|||||||
using DataModel.Database;
|
using DataModel.Database.Common;
|
||||||
using DataModel.Database.Common;
|
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using Processor;
|
using Processor;
|
||||||
using UI_WinForms.Dialogs;
|
using UI_WinForms.Dialogs;
|
||||||
@@ -106,6 +105,9 @@ public partial class SectionTree : UserControl
|
|||||||
foreach (var node in missingParents)
|
foreach (var node in missingParents)
|
||||||
rootMissedParents.Nodes.Add(node);
|
rootMissedParents.Nodes.Add(node);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Expand the tree:
|
||||||
|
this.treeView.ExpandAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void buttonAdd_Click(object sender, EventArgs e)
|
private async void buttonAdd_Click(object sender, EventArgs e)
|
||||||
|
|||||||
Reference in new issue
Block a user