public void SelectedIndexChanged() { if (Index >= 0) { CurrentAuto = Autos[Index]; DeleteButtonClick.RaiseCanExecuteChanged(); OnPropertyChanged(nameof(CurrentAuto)); } }
public void SelectedIndexChanged() { if (Index >= 0) { CurrentReservation = Reservationen[Index]; AutoIndexChanged(); KundeIndexChanged(); DeleteButtonClick.RaiseCanExecuteChanged(); OnPropertyChanged(nameof(CurrentReservation)); } }
public void SelectedIndexChanged() { if (Index >= 0) { CurrentKunde = Kunden[Index]; DeleteButtonClick.RaiseCanExecuteChanged(); OnPropertyChanged(nameof(CurrentKunde)); } else { CurrentKunde = null; DeleteButtonClick.RaiseCanExecuteChanged(); OnPropertyChanged(nameof(CurrentKunde)); } }
private void DeleteButton_Click(object sender, EventArgs e) { DeleteButtonClick?.Invoke(this, EventArgs.Empty); }
private void DeleteButton_Click(object sender, RoutedEventArgs e) { DeleteButtonClick?.Invoke(this, new EventArgs()); }
public void Delete_Click(object sender, RoutedEventArgs args) { DeleteButtonClick?.Invoke(sender, args); }
private void DeleteButton_PreviewMouseDown(object sender, MouseButtonEventArgs e) { DeleteButtonClick?.Invoke(this, e); }
protected void DeleteButton_Click(object sender, EventArgs e) { DeleteButtonClick?.Invoke(this, e); }
private void DeleteClick(object sender, RoutedEventArgs e) { DeleteButtonClick?.Invoke(sender, e); }
private void btnDelete_Click(object sender, RoutedEventArgs e) { DeleteButtonClick?.Invoke(this, EventArgs.Empty); }