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

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

            ue.ShowDialog();
        }