Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 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);
 }
Esempio n. 3
0
 public LinkedListNode<Person> addPerson(Person p)
 {
     return peopleList.AddLast(p);
 }