private void createPerson_Click(object sender, RoutedEventArgs e) { Person temp = new Person(); temp.firstName = this.firstName.Text; temp.lastName = this.secondName.Text; list.addPerson(temp); }
public CapturePage() { InitializeComponent(); //Actually get databinding set up person = new Person(); (App.Current.RootVisual as PhoneApplicationFrame).DataContext = person; ctask = new CameraCaptureTask(); ctask.Completed += new EventHandler<PhotoResult>(ctask_Completed); }
public LinkedListNode<Person> addPerson(Person p) { return peopleList.AddLast(p); }