Example #1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            NewContactWindow newContactWindow = new NewContactWindow();

            newContactWindow.ShowDialog();

            ReadDataBase();
        }
Example #2
0
        private void buttonNewContact_Click(object sender, RoutedEventArgs e)
        {
            NewContactWindow newContactWindow = new NewContactWindow()
            {
                Owner = this
            };

            newContactWindow.ShowDialog();

            ReadDatabase();
        }