Click here to Skip to main content
15,921,884 members
Home / Discussions / C#
   

C#

 
GeneralCalling a function from Intel Library using C# Pin
E6AD22-Aug-05 10:11
E6AD22-Aug-05 10:11 
GeneralRe: Calling a function from Intel Library using C# Pin
Judah Gabriel Himango22-Aug-05 10:49
sponsorJudah Gabriel Himango22-Aug-05 10:49 
GeneralRe: Calling a function from Intel Library using C# Pin
E6AD22-Aug-05 12:21
E6AD22-Aug-05 12:21 
GeneralRe: Calling a function from Intel Library using C# Pin
Judah Gabriel Himango22-Aug-05 17:03
sponsorJudah Gabriel Himango22-Aug-05 17:03 
Generalc# controls Pin
xilefxilef22-Aug-05 8:37
xilefxilef22-Aug-05 8:37 
GeneralRe: c# controls Pin
Insincere Dave22-Aug-05 12:48
Insincere Dave22-Aug-05 12:48 
GeneralTags in treeview Pin
Soviet22-Aug-05 7:57
Soviet22-Aug-05 7:57 
GeneralRe: Tags in treeview Pin
Robert Rohde22-Aug-05 8:27
Robert Rohde22-Aug-05 8:27 
If you have a bunch of Infos you want to store in a node you could make a helper class containing everything you need and store it in the node:
private void SetInfo(MyInfosClass info, TreeNode node) {
node.Tag = info;
}

private MyInfosClass GetInfo(TreeNode node) {
return node.Tag as MyInfosClass;
}


A in my opinion better idea would be to inherit from TreeNode and add some extra properties.
public class MyTreeNode : TreeNode {
private string _info1;
private int _info2;
public string Info1 {
get { return _info1; }
set { _info1 = value; }
}
public int Info2 {
get { return _info2; }
set { _info2 = value; }
}
}


With this solution you naturally would have to instantiate and use the MyTreeNode class instead of TreeNode.
GeneralC# xml serializer Pin
ppp00122-Aug-05 7:48
ppp00122-Aug-05 7:48 
GeneralRe: C# xml serializer Pin
Robert Rohde22-Aug-05 8:35
Robert Rohde22-Aug-05 8:35 
GeneralRe: C# xml serializer Pin
ppp00122-Aug-05 8:46
ppp00122-Aug-05 8:46 
GeneralRe: C# xml serializer Pin
Robert Rohde23-Aug-05 8:52
Robert Rohde23-Aug-05 8:52 
GeneralMMC Snap Ins Pin
Mridang Agarwalla22-Aug-05 7:44
Mridang Agarwalla22-Aug-05 7:44 
GeneralRe: MMC Snap Ins Pin
Robert Rohde22-Aug-05 8:37
Robert Rohde22-Aug-05 8:37 
GeneralAssembly Language and C# Pin
Mridang Agarwalla22-Aug-05 7:31
Mridang Agarwalla22-Aug-05 7:31 
GeneralRe: Assembly Language and C# Pin
Daniel Turini22-Aug-05 8:06
Daniel Turini22-Aug-05 8:06 
GeneralRe: Assembly Language and C# Pin
leppie22-Aug-05 23:56
leppie22-Aug-05 23:56 
GeneralODBC: SqlGetDiagRec - help needed Pin
Shahrazad22-Aug-05 7:31
sussShahrazad22-Aug-05 7:31 
GeneralRe: ODBC: SqlGetDiagRec - help needed Pin
Shahrazad22-Aug-05 23:40
sussShahrazad22-Aug-05 23:40 
GeneralWMI Pin
Mridang Agarwalla22-Aug-05 7:24
Mridang Agarwalla22-Aug-05 7:24 
GeneralRe: WMI Pin
Daniel Turini22-Aug-05 8:06
Daniel Turini22-Aug-05 8:06 
GeneralRe: WMI Pin
leppie23-Aug-05 0:03
leppie23-Aug-05 0:03 
GeneralManaged DirectX: load large Bitmap Pin
silka_c#22-Aug-05 7:09
silka_c#22-Aug-05 7:09 
GeneralRe: Managed DirectX: load large Bitmap Pin
Daniel Turini22-Aug-05 7:41
Daniel Turini22-Aug-05 7:41 
GeneralRe: Managed DirectX: load large Bitmap Pin
silka_c#22-Aug-05 22:39
silka_c#22-Aug-05 22:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.