public static EventImage New(RenderForm container) { EventImage ei = new EventImage(); ei.Container = container; return(ei); }
void RenderForm_MouseDoubleClick(object sender, MouseEventArgs e) { long index = 0; EventImage receiver = null; EnumDelegateList(EventMouseDblClick.GetInvocationList(), delegate(Delegate par) { EventImage ei = (EventImage)par.Target; if (ei.IsWithinImage(e.Location)) { if (ei.zIndex >= index) { index = ei.zIndex; receiver = ei; } } return(true); }); if (receiver != null) { receiver.OnMouseDblClick(sender, e); } }
public static EventImage New(RenderForm container) { EventImage ei = new EventImage(); ei.Container = container; return ei; }