Beispiel #1
0
        void addCard()
        {
            var card = new Card();

            card.id      = "";
            card.fName   = _fname.Text;
            card.lName   = _lname.Text;
            card.phone   = _phone.Text;
            card.email   = _email.Text;
            card.company = _company.Text;
            card.title   = _title.Text;

            vm.Add(card);

            //Tells View to refresh the list
            ListCardView.needsRefresh = true;
        }