private void editImagePalletToolStripMenuItem_Click(object sender, EventArgs e) { if (pal != null) { pal.Close(); } pal = new PalletForm(m_BasePallet); pal.ColorChange += PalletChanged; pal.Show(); }