コード例 #1
0
        private void People_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            Person     pc = (Person)((sender as ListBox).SelectedItem);
            EditPeople ep = new EditPeople(pc);

            ep.ShowDialog();
        }
コード例 #2
0
        private void AddButton_Click(object sender, RoutedEventArgs e)
        {
            EditPeople ep = new EditPeople();

            ep.ShowDialog();
        }