private void People_MouseDoubleClick(object sender, MouseButtonEventArgs e) { Person pi = (Person)((sender as ListView).SelectedItem); ListEdit le = new ListEdit(pi); le.ShowDialog(); }
private void AddButton_Click(object sender, RoutedEventArgs e) { ListEdit le = new ListEdit(); le.ShowDialog(); }