Beispiel #1
0
        private void People_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            Person   pi = (Person)((sender as ListView).SelectedItem);
            ListEdit le = new ListEdit(pi);

            le.ShowDialog();
        }
Beispiel #2
0
        private void AddButton_Click(object sender, RoutedEventArgs e)
        {
            ListEdit le = new ListEdit();

            le.ShowDialog();
        }