Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recursive: See recursive
Message
De
05/01/2006 18:47:58
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01083365
Message ID:
01083863
Vues:
5
>>Einar,
>>I haven't yet worked with .Net TV so might not apply.
>>
>>treeNode.Id looks like node.key (unique) in Activex TV. If it's Activex one can do this:
>>
>>oNode = Tv.Nodes[cKey] or Tv.Nodes[iIndex]
>>
>>w/o a need to loop.
>>Cetin
>
>Id is acctually a property of my custom TreeNode class that inherits from System.Windows.Forms.TreeNode. From what I know there is no longer a tag property since you now can make your own custom treenode and add as many properties as you want so passing a tag value to some method that returns the correct node is gone. That is acctually what I am trying to reproduce. I think the fastest way to reproduce it is to use recursion.
>
>I've got a solution that works great now (it is faster than a speeding bullet) but maybe I can squeeze another couple of milli-seconds out of it <s>
>
>Einar

Einar,
I think it hasn't dropped Nodes[iIndex], Nodes[cIndex] functionality. I found these in documentation:

"TreeNodeCollection.Item (Int32) Gets or sets the TreeNode at the specified indexed location in the collection.
Supported by the .NET Compact Framework.

TreeNodeCollection.Item (String) Gets the tree node with the specified key from the collection. "
PS: Supported in 2.0
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform