private void tabParticleCN_Checked(object sender, RoutedEventArgs e)
 {
     if (tabParticleCN.IsChecked.Value)
     {
         int index = tabParticleSel.SelectedIndex;
         for (int i = 0; i < asd.getParticleStrCount(); i++)
         {
             tabParticleSel.Items.RemoveAt(0);
         }
         for (int i = 0; i < asd.getParticleStrCount(); i++)
         {
             tabParticleSel.Items.Add(asd.getParticleStrCn(i));
         }
         tabParticleSel.SelectedIndex = index;
     }
 }