Exemplo n.º 1
0
        /// <summary>
        /// Draws the <see cref="ImageBox"/>.
        /// </summary>
        public void Draw()
        {
            // Let others know that we're about to draw
            ImageBoxDrawingEventArgs args = new ImageBoxDrawingEventArgs(this);

            if (this.ImageViewer != null && this.ImageViewer.EventBroker != null)
            {
                this.ImageViewer.EventBroker.OnImageBoxDrawing(args);
            }

            EventsHelper.Fire(_drawingEvent, this, EventArgs.Empty);
        }
Exemplo n.º 2
0
 internal void OnImageBoxDrawing(ImageBoxDrawingEventArgs args)
 {
     EventsHelper.Fire(_imageBoxDrawingEvent, this, args);
 }
Exemplo n.º 3
0
		internal void OnImageBoxDrawing(ImageBoxDrawingEventArgs args)
		{
			EventsHelper.Fire(_imageBoxDrawingEvent, this, args);
		}