예제 #1
0
        private void People_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            PersonClass pc  = (PersonClass)((sender as ListBox).SelectedItem);
            PersonEdit  pce = new PersonEdit(pc);

            pce.ShowDialog();
        }
예제 #2
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            PersonEdit pce = new PersonEdit();

            pce.ShowDialog();
        }