示例#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);
        }
示例#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);
 }
示例#3
0
 public LinkedListNode<Person> addPerson(Person p)
 {
     return peopleList.AddLast(p);
 }