private void EditPersonAction(object personId) { PersonDetailDialog personDetailDialog = new PersonDetailDialog((int)personId); personDetailDialog.Closed += PersonDetailDialog_Closed; personDetailDialog.Show(); }
private void AddPersonAction(object data) { PersonDetailDialog personDetailDialog = new PersonDetailDialog(); personDetailDialog.Closed += PersonDetailDialog_Closed; personDetailDialog.Show(); }