W
walterd
Hi All
I have a class Persons that hold key/value pairs of Person class. My problem
is the following.
On the first screen I create an instance of Person, I then add a name and
surname and then add the class to class Persons ( I can add more than one
Person class on this screen). On the next screen I retrieve the Person I am
interested in and add Home Address or whatever I wish to add.
The problem starts when I call the Add method of the Persons class. The
value (Person that's been updated) is never stored or updated in the Persons
class.
public object Value
{
get{return this.mValue;}
set
{
if (this.mValue != value)
{
this.mValue = value;
}
}
}
Can some give some green light?
I have a class Persons that hold key/value pairs of Person class. My problem
is the following.
On the first screen I create an instance of Person, I then add a name and
surname and then add the class to class Persons ( I can add more than one
Person class on this screen). On the next screen I retrieve the Person I am
interested in and add Home Address or whatever I wish to add.
The problem starts when I call the Add method of the Persons class. The
value (Person that's been updated) is never stored or updated in the Persons
class.
public object Value
{
get{return this.mValue;}
set
{
if (this.mValue != value)
{
this.mValue = value;
}
}
}
Can some give some green light?