Change to expand the tree
This commit is contained in:
parent
271ae2a1cf
commit
57a7568dbb
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user