private void tabSumosEParticle_Click(object sender, RoutedEventArgs e)
 {
     Particle pbox = new Particle();
     pbox.ShowDialog();
     globalParticleSel = pbox.returnParticleSel();
     globalParticlePara1 = pbox.returnParticlePara()[0];
     globalParticlePara2 = pbox.returnParticlePara()[1];
 }
 private void particleBtn_Click(object sender, RoutedEventArgs e)
 {
     this.Hide();
     Particle particlebox = new Particle();
     particlebox.ShowDialog();
     this.Show();
 }