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

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

            pce.ShowDialog();
        }