NPlot.Windows.PlotSurface2D.DoMouseDown C# (CSharp) 메소드

DoMouseDown() 공개 메소드

All functionality of the OnMouseDown function is contained here. This allows use of the all encompasing PlotSurface.
public DoMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs The mouse event args from the window we are drawing to.
리턴 void
        public void DoMouseDown(MouseEventArgs e)
        {
            bool dirty = false;
            foreach (Interactions.Interaction i in interactions_)
            {
                i.DoMouseDown(e, this);
                dirty |= i.DoMouseDown(e, this);
            }
            if (dirty)
            {
                Refresh();
            }
        }