void ColorAttributesChanged(object sender, CodedPalette.ColorAttributesChangedEventArgs e) { if (!UndoRegistrationSuppressed) { AddUndoAction(new UndoRedoActionChangeColorAttributes(Image, (CodedColor)e.Color, e.OldSymbol, e.OldCode, e.OldName, e.NewSymbol, e.NewCode, e.NewName)); } }
void Palette_ColorAttributesChanged(object sender, CodedPalette.ColorAttributesChangedEventArgs e) { OnPaletteSettingsChanged(); }