示例#1
0
 private static void EnsureTemplateTreeDoesNotSelectRoot(Main main)
 {
     main.foldersTreeView.Focus();
 }
示例#2
0
 /// <summary>
 /// When performing an Up,Down, Top or Bottom to the Category TreeView,
 /// the TreeView automatically selects the root node.
 /// To prevent this, thr workaround is to Focus the TreeView directly after one of this operations.
 /// </summary>
 private static void EnsureCategoryTreeDoesNotSelectRoot(Main main)
 {
     main.categoriesTree.Focus();
 }