private void CbBareshaft_SelectionChanged(object sender, RoutedEventArgs e)
 {
     if (cbBareshaft.SelectedIndex == 0)
     {
         nBareshaft = 1;
     }
     else
     {
         nBareshaft = 2;
     }
     if (lBareshaft != null)
     {
         lBareshaft.SetNumElements(nBareshaft);
     }
 }
 private void CbFletched_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (cbFletched.SelectedIndex == 0)
     {
         nFletched = 3;
     }
     else
     {
         nFletched = 6;
     }
     if (lFletched != null)
     {
         lFletched.SetNumElements(nFletched);
     }
 }