Example #1
0
        private void Names_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            Person    ni = (Person)((sender as ListView).SelectedItem);
            NamesEdit ne = new NamesEdit(ni);

            ne.ShowDialog();
        }
Example #2
0
        private void AddButton_Click(object sender, RoutedEventArgs e)
        {
            NamesEdit ue = new NamesEdit();

            ue.ShowDialog();
        }