Example #1
0
 private void ButtonEdit_Click(object sender, RoutedEventArgs e)
 {
     if (list1.SelectedIndex != -1)
     {
         NeworEditDetector nec = new NeworEditDetector(this, false);
         nec.Show();
     }
 }
Example #2
0
        private void ButtonNew_Click(object sender, RoutedEventArgs e)
        {
            NeworEditDetector nec = new NeworEditDetector(this, true);

            nec.Show();
        }