Пример #1
0
        private void BtnNewContact_OnClick(object sender, RoutedEventArgs e)
        {
            NewContactWindow newContactWindow = new NewContactWindow();

            newContactWindow.ShowDialog();
            ReadDB();
        }
Пример #2
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            NewContactWindow newContactWindow = new NewContactWindow();

            newContactWindow.ShowDialog();
            ReadDatabase();
        }
Пример #3
0
        private void _newContactButton_Click(object sender, RoutedEventArgs e)
        {
            // Open the window for inputting the data
            var newContactWindow = new NewContactWindow();

            newContactWindow.ShowDialog();

            ReadDatabase();
        }