Ok… I know there has to be a way to do this.
a) I have a container control, that contains a canvas
b) one of the properties of the CC is a custom class (not subclassed from a control), Call it “X”
c) What I need to be able to do. If a particular method in “X” does a particular action, I need it to raise an event that the “CC” can see and respond to (ie. invalidate the canvas
I have added an event defintion to “X”, but there is not Event Handler exposed in “CC”… what am I missing
CC.doSomething // if this DID do something I need CC to react, without putting code in the main app