示例#1
0
 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));
     }
 }
示例#2
0
 void Palette_ColorAttributesChanged(object sender, CodedPalette.ColorAttributesChangedEventArgs e)
 {
     OnPaletteSettingsChanged();
 }