private void DoubleClickHandler(object sender, MouseButtonEventArgs e)
 {
     ListBox tempListBox = (ListBox)sender;
     tempPersoon = (Persoon)tempListBox.SelectedItem;
     positionInlist = personenList.IndexOf(tempPersoon);
     PersoonDetails tempDetails = new PersoonDetails(this);
     tempDetails.Show();
 }
Пример #2
0
        private void DoubleClickHandler(object sender, MouseButtonEventArgs e)
        {
            ListBox tempListBox = (ListBox)sender;

            tempPersoon    = (Persoon)tempListBox.SelectedItem;
            positionInlist = personenList.IndexOf(tempPersoon);
            PersoonDetails tempDetails = new PersoonDetails(this);

            tempDetails.Show();
        }