private void btnEdit_Click(object sender, EventArgs e)
        {
            if (lstParticles.SelectedIndex != -1)
            {
                /* Spawn ParticleEditor window with the currently selected */
                /* particle as the argument, allows user to edit */

                AddParticleDlg dlg = new AddParticleDlg((Particle)lstParticles.Items[lstParticles.SelectedIndex]);
                dlg.ShowDialog();

                if (dlg.EditedParticle)
                {
                    dlg.Particle.Texture = LoadTexture(dlg.Particle.TextureName);
                    lstParticles.Items[lstParticles.SelectedIndex] = dlg.Particle;

                }
            }
        }
        private void btnAddParticle_Click(object sender, EventArgs e)
        {
            AddParticleDlg dlg = new AddParticleDlg();
            dlg.ShowDialog();

            /* Store Particle in List */
            if (dlg.ParticleCreated)
            {
                dlg.Particle.Texture = LoadTexture(dlg.Particle.TextureName);
                lstParticles.Items.Add(dlg.Particle);
            }
        }