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

            newContactWindow.ShowDialog();

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

            newContactWindow.ShowDialog();

            ReadDatabase();
        }