private void OnResetClick(object sender, EventArgs e)
 {
     if (_palette != null)
     {
         if (MessageBox.Show("Are you sure you want to reset the palette?",
                             "Palette Reset",
                             MessageBoxButtons.YesNo,
                             MessageBoxIcon.Warning) == DialogResult.Yes)
         {
             _palette.ResetToDefaults(false);
             _service.OnComponentChanged(_palette, null, null, null);
         }
     }
 }