Projekte integration angefangen
This commit is contained in:
@@ -27,6 +27,7 @@ namespace KanSan.ViewModel
|
||||
}
|
||||
public ICommand AddNewClientCommand { get; set; }
|
||||
public ICommand EditClientCommand { get; set; }
|
||||
public ICommand SelectClientCommand { get; set; }
|
||||
|
||||
public List<Kunde> Kunden
|
||||
{
|
||||
@@ -42,6 +43,13 @@ namespace KanSan.ViewModel
|
||||
|
||||
AddNewClientCommand = new RelayCommand(parameter => NewClient());
|
||||
EditClientCommand = new RelayCommand(parameter => EditClient());
|
||||
SelectClientCommand = new RelayCommand(parameter => SelectClient());
|
||||
}
|
||||
|
||||
private void SelectClient()
|
||||
{
|
||||
if (selectedKunde == null) return;
|
||||
Mediator.Notify("ClientSelected", selectedKunde);
|
||||
}
|
||||
|
||||
private void NewClient()
|
||||
|
||||
Reference in New Issue
Block a user