converting a c# demo (a paint program) over to ABL, I got stuck at this line of code:
this.colorSelector1_ColorSelected( this, new ColorSelectedEventArgs( Color.Black, ImageEditColorType.ForeColor ) );
colorSelector1 is an infragistics.win.ultraimageeditor.colorselector
I am confused about the "_" in here ... and I suppose that Mike or Peter are going to slap their foreheads and go "duhh" ..
this.colorSelector1_ColorSelected( this, new
ColorSelectedEventArgs( Color.Black,
ImageEditColorType.ForeColor ) );
colorSelector1 is an
infragistics.win.ultraimageeditor.colorselector
I believe it's a call to ColorSelector colorSelector1's ColorSelected event handler. I'm assuming that this is on a line by itself?
Some events have a 'perform action' method - like a Close() method on a Form that fires the event. It doesn't look like the ColorSelector* has such a method, so this is the way they chose to fire the event.
I am confused about the "_" in here ... and I suppose
that Mike or Peter are going to slap their foreheads
and go "duhh" ..
This usually only happens when I'm reading my own code ...
-- peter
Don't you hate these misspelled names?
The "_" is the same as in ABL. It's just a legal character in a function/method name.
So this is a call to the event handler named colorSelector1_ColorSelected
No more, no less.
jeez. Don't you just hate it when you post the most stupid question ever, and you know that people are trying their hardest not to laugh when posting the reply ..
It could have been worse.
But some answer points would also have been nice.