private void Copy() { if (dataGrid.SelectedItem is PdxAgenda agenda) { CopyAgenda = agenda; } }
public AgendaEditorWindow(PdxAgenda Agenda) { this.Agenda = Agenda; InitializeComponent(); DataContext = Agenda; }
private void Copy() { if (dataGrid.SelectedItem is PdxAgenda agenda) { CopyAgenda = agenda; } }
public AgendaEditorWindow(PdxAgenda Agenda) { this.Agenda = Agenda; InitializeComponent(); DataContext = Agenda; }