public override void Initialize() { base.Initialize(); NTreeViewExUC.AddTestNodes(nTreeViewEx1, 10, 3); //init sample filters NFilter simpleFilter = new NTreeNodeTextFilter("Sample Tree Node 1", CommonStringOptions.Contains, true); NAndFilter compositeFilter = new NAndFilter(); compositeFilter.Add(new NTreeNodeTextFilter("Sample Tree Node 1", CommonStringOptions.Contains, true)); compositeFilter.Add(new NTreeNodeTextFilter("Depth: 0", CommonStringOptions.Contains, true)); NListBoxItem item = new NListBoxItem(); item.Text = "No Filter"; filterCombo.Items.Add(item); item = new NListBoxItem(simpleFilter); item.Text = "Simple Text Filter"; filterCombo.Items.Add(item); item = new NListBoxItem(compositeFilter); item.Text = "Composite 'And' Filter"; filterCombo.Items.Add(item); filterCombo.SelectedIndex = 0; }
public override void Initialize() { base.Initialize(); nTreeViewEx1.ItemCheckStyle = ItemCheckStyle.CheckBox; checkStyleCombo.FillFromEnum(typeof(ItemCheckStyle)); checkStyleCombo.SelectedItem = nTreeViewEx1.ItemCheckStyle; autoCheck.Checked = nTreeViewEx1.AutoUpdateCheckState; NTreeViewExUC.AddTestNodes(nTreeViewEx1, 10, 3); }
public override void Initialize() { base.Initialize(); Dock = DockStyle.Fill; NTreeViewExUC.AddTestNodes(nTreeViewEx1, 5, 3); this.enableDragCheck.Checked = true; this.showHintsCheck.Checked = true; this.autoScrollCheck.Checked = true; this.expandNodeCheck.Checked = true; }
public override void Initialize() { base.Initialize(); Dock = DockStyle.Fill; m_Tree = new NTreeViewEx(); m_Tree.Dock = DockStyle.Fill; NTreeViewExUC.AddTestNodes(m_Tree, 5, 2); m_Tree.ExpandAll(); m_Tree.Parent = containerPanel; }
public override void Initialize() { base.Initialize(); Dock = DockStyle.Fill; batchUpdatesCheck.Checked = true; nTreeViewEx1.EnableItemEdit = true; NTreeViewExUC.AddTestNodes(nTreeViewEx1, 5, 3); nTreeViewEx1.ItemCheckStyle = ItemCheckStyle.CheckBox; nTreeViewEx1.ItemNotify += new NLightUIItemNotifyEventHandler(nTreeViewEx1_ItemNotify); nTreeViewEx1.SelectionMode = ItemSelectionMode.MultiExtended; nTextBox1.WordWrap = false; nTextBox1.ScrollBars = ScrollBars.Both; PopulateEventsList(trackNotificationsList, true); PopulateEventsList(cancelNotificationList, false); }