//What we will do when the form says it has closed
 internal void Form_Closed(object sender, FormClosedEventArgs e)
 {
     _form = null;
 }
 private void MyClick()
 {
     if (Enabled)
     {
         if (_form != null) //User may click when form is already loaded.
         {
             _form.Activate();
         }
         else
         {
             _form = new CopyRasterSymbologyForm();
             _form.CopyRasterEvent += Form_Copy;
             _form.FormClosed += Form_Closed;
             LoadFormList();
             _form.Show();
         }
     }
     else
     {
         MessageBox.Show(@"You must have two or more raster layers in your map to use this command.",
                         @"For this command...", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }