Phone Book 1.0
Contact.cs
public class Contact
{
public Uri picture { get; set; }
public string name { get; set; }
public string phone { get; set; }
public Contact(Uri _picture, string _name, string _phone)
{
this.picture = _picture;
this.name = _name;
this.phone = _phone;
}
}App.xaml.cs
/// <summary>
/// Provides application-specific behavior to supplement the default Application class.
/// </summary>
sealed partial class App : Application
{
// Contacts
public static ObservableCollection<Contact> contacts = new ObservableCollection<Contact>();
... AddPage.xaml
AddPage.xaml.cs
MainPage.xaml
MainPage.xaml.cs
Demo


Last updated