Example #1
0
        public Contacts()
        {
            InitializeComponent();

            c1.AddContact(new Contact()
            {
                FName    = "Alpha",
                LName    = "Bravo",
                PhArea   = "051",
                PhNumber = "2296806",
                Company  = "COMSATS",
                JobTitle = "Professor",
                Email    = "*****@*****.**",
                Address  = "Tarlai Kalan",
                photo    = "141.png"
            });

            this.listContacts.ItemsSource = c1.GetAllContacts();
            this.content1.Content         = c1.GetAllContacts();
        }