NPlot.Windows.PlotSurface2D.DoMouseUp C# (CSharp) Method

DoMouseUp() public method

All functionality of the OnMouseUp function is contained here. This allows use of the all encompasing PlotSurface.
public DoMouseUp ( MouseEventArgs e, Control ctr ) : void
e MouseEventArgs The mouse event args from the window we are drawing to.
ctr System.Windows.Forms.Control The control that the mouse event happened in.
return void
        public void DoMouseUp(MouseEventArgs e, Control ctr)
        {
            bool dirty = false;

            foreach (Interactions.Interaction i in interactions_)
            {
                dirty |= i.DoMouseUp(e, ctr);
            }
            if (dirty)
            {
                Refresh();
            }
        }