private void btnRegister_Click(object sender, RoutedEventArgs e) { CreateAccountWindow createAccountWindow = new CreateAccountWindow(); MessageBox.Show("You have successfully accessed the system", "Information", MessageBoxButton.OK, MessageBoxImage.Information); createAccountWindow.ShowDialog(); }
private void btnAddUser_Click(object sender, RoutedEventArgs e) { CreateAccountWindow createAccountWindow = new CreateAccountWindow(); createAccountWindow.ShowDialog(); }