104 references to Nodes
System.Messaging (4)
System\Messaging\Design\QueuePathDialog.cs (4)
241
this.enterprise.
Nodes
.AddRange(new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode(Res.GetString(Res.PleaseWait)) });
396
enterprise.
Nodes
.Clear();
408
machineNode = enterprise.
Nodes
.Add(machineName);
437
TreeNodeCollection machines = enterprise.
Nodes
;
System.Web.Mobile (66)
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (13)
325
_appliedFiltersList.TvList.
Nodes
.Add(choice);
330
_appliedFiltersList.TvList.
Nodes
.Clear();
439
foreach(ChoiceTreeNode choice in _appliedFiltersList.TvList.
Nodes
)
554
_appliedFiltersList.TvList.
Nodes
760
_appliedFiltersList.TvList.
Nodes
.Add(choice);
767
_appliedFiltersList.TvList.
Nodes
.Insert(0, choice);
792
_appliedFiltersList.TvList.
Nodes
.Remove(_appliedFiltersList.TvList.SelectedNode);
944
_cachedTreeView = new TreeNode[treeView.
Nodes
.Count];
945
treeView.
Nodes
.CopyTo(_cachedTreeView, 0);
960
treeView.
Nodes
.Clear();
961
treeView.
Nodes
.AddRange(_cachedTreeView);
964
int index = treeView.
Nodes
.IndexOf(selectedNode);
967
treeView.SelectedNode = treeView.
Nodes
[index];
UI\MobileControls\Design\DeviceFilterEditorDialog.cs (6)
167
_filterList.TvList.
Nodes
.Add(node);
176
foreach(DeviceFilterTreeNode node in _filterList.TvList.
Nodes
)
334
foreach(DeviceFilterTreeNode filter in _filterList.TvList.
Nodes
)
433
foreach(DeviceFilterTreeNode filterNode in _filterList.TvList.
Nodes
)
472
foreach(DeviceFilterTreeNode filter in _filterList.TvList.
Nodes
)
602
_filterList.TvList.
Nodes
.Add(node);
UI\MobileControls\Design\ListComponentEditorPage.cs (6)
73
TreeList.TvList.
Nodes
.Clear();
80
if (TreeList.TvList.
Nodes
.Count > 0)
82
CurrentNode = (ListTreeNode)TreeList.TvList.
Nodes
[0];
105
foreach (ListTreeNode node in TreeList.TvList.
Nodes
)
137
foreach (ListTreeNode node in TreeList.TvList.
Nodes
)
279
if (TreeList.TvList.
Nodes
.Count == 0)
UI\MobileControls\Design\ListItemsPage.cs (3)
172
TreeList.TvList.
Nodes
.Add(newNode);
219
TreeList.TvList.
Nodes
.Add(newNode);
270
foreach (ItemTreeNode itemNode in TreeList.TvList.
Nodes
)
UI\MobileControls\Design\ObjectListCommandsPage.cs (4)
142
TreeList.TvList.
Nodes
.Add(newNode);
167
foreach (CommandTreeNode commandNode in TreeList.TvList.
Nodes
)
190
TreeList.TvList.
Nodes
.Add(newNode);
242
foreach (CommandTreeNode commandNode in TreeList.TvList.
Nodes
)
UI\MobileControls\Design\ObjectListFieldsPage.cs (3)
202
TreeList.TvList.
Nodes
.Add(newNode);
247
TreeList.TvList.
Nodes
.Add(newNode);
303
foreach (FieldTreeNode fieldNode in TreeList.TvList.
Nodes
)
UI\MobileControls\Design\StylesEditorDialog.cs (21)
118
if (_tvDefinedStyles.
Nodes
.Count > 0)
125
SelectedStyle = (StyleNode)_tvDefinedStyles.
Nodes
[initialIndex];
141
foreach (StyleNode item in _tvDefinedStyles.
Nodes
)
411
foreach (StyleNode styleNode in _tvDefinedStyles.
Nodes
)
458
_tvDefinedStyles.
Nodes
.Add(newStyleItem);
472
_btnDown.Enabled = (SelectedStyle.Index < _tvDefinedStyles.
Nodes
.Count - 1);
499
foreach (StyleNode styleNode in _tvDefinedStyles.
Nodes
)
773
_tvDefinedStyles.
Nodes
.Add(newStyleItem);
814
_tvDefinedStyles.
Nodes
.RemoveAt(index);
815
_tvDefinedStyles.
Nodes
.Insert(index + direction, node);
869
int stylesCount = _tvDefinedStyles.
Nodes
.Count;
871
_tvDefinedStyles.
Nodes
.RemoveAt(selectedIndex);
876
SelectedStyle = (StyleNode) _tvDefinedStyles.
Nodes
[selectedIndex];
880
SelectedStyle = (StyleNode) _tvDefinedStyles.
Nodes
[selectedIndex-1];
912
if(_tvDefinedStyles.
Nodes
.Count > 0)
914
SelectedStyle = (StyleNode)_tvDefinedStyles.
Nodes
[0];
920
int numNodes = _tvDefinedStyles.
Nodes
.Count;
923
SelectedStyle = (StyleNode)_tvDefinedStyles.
Nodes
[numNodes - 1];
995
foreach (StyleNode styleNode in _tvDefinedStyles.
Nodes
)
1006
foreach (StyleNode styleNode in _tvDefinedStyles.
Nodes
)
1079
foreach (StyleNode styleNode in _tvDefinedStyles.
Nodes
)
UI\MobileControls\Design\Util\EditableTreeList.cs (10)
203
&& ((index + direction) < TvList.
Nodes
.Count),
206
TvList.
Nodes
.RemoveAt(index);
207
TvList.
Nodes
.Insert(index + direction, LastNodeChanged);
226
TvList.
Nodes
.Remove(LastNodeChanged);
245
if(TvList.
Nodes
.Count > 0)
247
TvList.SelectedNode = TvList.
Nodes
[0];
253
int numNodes = TvList.
Nodes
.Count;
256
TvList.SelectedNode = TvList.
Nodes
[numNodes - 1];
328
foreach(TreeNode node in TvList.
Nodes
)
347
BtnDown.Enabled = (selectedIndex < TvList.
Nodes
.Count - 1);
System.Windows.Forms (13)
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (2)
250
selector.
Nodes
.Add(new TreeNode(title, n, n));
357
selector.SelectedNode = selector.
Nodes
[initialActivePage];
winforms\Managed\System\WinForms\TreeView.cs (11)
1262
if (Sorted && TreeViewNodeSorter == null &&
Nodes
.Count >= 1) {
1697
foreach (TreeNode node in
Nodes
) {
1864
foreach (TreeNode node in
Nodes
) {
2389
TreeNode[] nodes = new TreeNode[
Nodes
.Count];
2390
Nodes
.CopyTo(nodes, 0);
2392
Nodes
.Clear();
2393
Nodes
.AddRange(nodes);
2465
if (
Nodes
!= null) {
2466
s += ", Nodes.Count: " +
Nodes
.Count.ToString(CultureInfo.CurrentCulture);
2467
if (
Nodes
.Count > 0)
2468
s += ", Nodes[0]: " +
Nodes
[0].ToString();
System.Workflow.ComponentModel (21)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (6)
401
this.designerTreeView.SelectedNode = (this.designerTreeView.
Nodes
.Count > 0) ? this.designerTreeView.
Nodes
[0] : null;
675
treeView.
Nodes
.Clear();
679
treeView.
Nodes
.Add(workflowNode);
760
treeView.
Nodes
[0].ExpandAll();
859
nodeCollections.Enqueue(treeView.
Nodes
);
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (8)
396
currentProjectNode = this.artifactTreeView.
Nodes
.Add(SR.CurrentProject, SR.GetString(SR.CurrentProject), 2, 2);
399
TreeNode assembliesNode = this.artifactTreeView.
Nodes
.Add(SR.ReferencedAssemblies, SR.GetString(SR.ReferencedAssemblies), 2, 2);
441
TreeNode assembliesNode = this.artifactTreeView.
Nodes
[SR.ReferencedAssemblies];
468
node = this.artifactTreeView.
Nodes
[SR.CurrentProject];
842
if (treeNode == this.artifactTreeView.
Nodes
[SR.CurrentProject])
847
else if (treeNode == this.artifactTreeView.
Nodes
[SR.ReferencedAssemblies])
932
selectedAssemblyNode = this.artifactTreeView.
Nodes
[SR.CurrentProject];
936
TreeNode assembliesNode = this.artifactTreeView.
Nodes
[SR.ReferencedAssemblies];
AuthoringOM\Design\DocumentOutline.cs (7)
124
if (this.treeView.
Nodes
.Count > 0)
125
return this.treeView.
Nodes
[0];
138
this.treeView.
Nodes
.Clear();
169
if (this.treeView.
Nodes
.Count > 0)
170
RefreshNode(this.treeView.
Nodes
[0] as WorkflowOutlineNode, true);
369
this.treeView.
Nodes
.Add(newNode);
436
if (this.treeView.
Nodes
.Count > 0)