Ejemplo n.º 1
0
        // Add clicked: Open EditContactWindow, and set its title to indicate add
        private void button_addContact_Click(object sender, RoutedEventArgs e)
        {
            EditContactWindow editContactWindow = new EditContactWindow();
            editContactWindow.Title = "Add Contact";
            editContactWindow.Owner = this;
            editContactWindow.Show();

            // Initialize the entry
            editContactWindow.InitContractEntry();
        }