private void CmdSetPaletteDefault()
 {
     for (int i = 0; i < _colorBoxes.Length; i++)
     {
         Color c = EscapesequenceColorSet.GetDefaultColor(i);
         _colorBoxes[i].SelectedColor = c;
         _colorBoxes[i].Invalidate();
         ((Label)_colorBoxes[i].Tag).ForeColor = c;
     }
 }
 private void OnSetDefault(object sender, EventArgs args)
 {
     for (int i = 0; i < _colorBoxes.Length; i++)
     {
         Color c = EscapesequenceColorSet.GetDefaultColor(i);
         _colorBoxes[i].SelectedColor = c;
         _colorBoxes[i].Invalidate();
         ((Label)_colorBoxes[i].Tag).ForeColor = c;
     }
 }