B
bg_ie
Hi,
I have a tree view which contains a number of nodes which correspond
to a set of objects, as follows -
class Address
{
int postCode;
sting[2] abbreviation;
}
class Person
{
string[] name;
Addressaddress;
}
Person[2] person;
TreeView:
+ Name: Barry
+ Address: BH 91001
+ Name: John
+ Address: CL 11002
I'd like to be able to click on a node in my treeview and then edit
its value. To bind to a testbox you can do something like this -
textBox1.DataBindings.Add(new Binding("Text", person[0], "State"));
but what about a Node in a text field?
Any suggestions,
Thanks,
Barry.
I have a tree view which contains a number of nodes which correspond
to a set of objects, as follows -
class Address
{
int postCode;
sting[2] abbreviation;
}
class Person
{
string[] name;
Addressaddress;
}
Person[2] person;
TreeView:
+ Name: Barry
+ Address: BH 91001
+ Name: John
+ Address: CL 11002
I'd like to be able to click on a node in my treeview and then edit
its value. To bind to a testbox you can do something like this -
textBox1.DataBindings.Add(new Binding("Text", person[0], "State"));
but what about a Node in a text field?
Any suggestions,
Thanks,
Barry.