Ejemplo n.º 1
0
        public static EventImage New(RenderForm container)
        {
            EventImage ei = new EventImage();

            ei.Container = container;
            return(ei);
        }
Ejemplo n.º 2
0
        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);
            }
        }
Ejemplo n.º 3
0
		public static EventImage New(RenderForm container)
		{
			EventImage ei = new EventImage();
			ei.Container = container;
			return ei;
		}