private void BtnNewContact_OnClick(object sender, RoutedEventArgs e) { NewContactWindow newContactWindow = new NewContactWindow(); newContactWindow.ShowDialog(); ReadDB(); }
private void Button_Click(object sender, RoutedEventArgs e) { NewContactWindow newContactWindow = new NewContactWindow(); newContactWindow.ShowDialog(); ReadDatabase(); }
private void _newContactButton_Click(object sender, RoutedEventArgs e) { // Open the window for inputting the data var newContactWindow = new NewContactWindow(); newContactWindow.ShowDialog(); ReadDatabase(); }