void HandlePersonPropertySelection(AddressBook.ABPerson person, AddressBook.ABPersonProperty property, int?id) { Console.Error.WriteLine("# perform action; person={0}", person); toString.Text = person.ToString(); firstName.Text = person.FirstName; lastName.Text = person.LastName; identifier.Text = id.ToString(); identifier.Text = id.HasValue ? id.ToString() : ""; }
void HandlePersonSelection(AddressBook.ABPerson person) { Console.Error.WriteLine("# select Person: {0}", person); toString.Text = person.ToString(); firstName.Text = person.FirstName; lastName.Text = person.LastName; property.Text = ""; identifier.Text = ""; }