private void AddCard_OnClick(object sender, RoutedEventArgs e) { var cardWindow = new Hospital.Windows.Card(); cardWindow.ShowDialog(); UpdateCards(); }
private void Modify_OnClick(object sender, RoutedEventArgs e) { var cardWindow = new Hospital.Windows.Card(UserCard, Windows.Card.WindowState.Modify); cardWindow.Show(); }