// public List<EventTest3> Ev2List { get; private set; } = null; public EventTestMgr() { Root = new EventTest3(0, 0, 0, 0, 0, true); Root.Name = "Root (" + Root.Name + ")"; MakeChildren(Root, 1, 0, Root.childList); First = new EventTest4(0, 0, 0, 0, 0, true); First.Name = "First (" + First.Name + ")"; MakeChildren(First, 1, 0, First.childList); Origin = new TreeNode5(); Origin.Configure(null, 0, 0, true, true); Origin.Name = "Origin"; TreeNode5 Top = new TreeNode5(); Top.Configure(Origin, 1, 1, true, true); Top.Name = "First Element"; Origin.AddChild(Top); MakeChildren(Top, 1, Top.Children); Trunk = new Branch(); Tests(); }
private void CheckBox_LostFocus(object sender, RoutedEventArgs e) { CheckBox cbx = (CheckBox)sender; EventTest4 et4 = (EventTest4)cbx.DataContext; et4.TriStateReset(); }