public CustomImage(ApplicationContext actx, ImageDrawCallback drawCallback) { this.actx = actx; this.drawCallback = drawCallback; imgRep = new NSCustomImageRep(new Selector("drawIt:"), this); AddRepresentation(imgRep); }
public CustomImage(ApplicationContext actx, ImageDrawCallback drawCallback) { this.actx = actx; this.drawCallback = drawCallback; imgRep = new NSCustomImageRep (new Selector ("drawIt:"), this); AddRepresentation (imgRep); }