private void InitVariables() { paint = false; LocY = 25; CurrentIndex = 0; selectionArea = new SelectionArea(); }
public Selection(int size, double scale, Graphics gI, PictureBox Canvas, SelectionArea selectionArea) : base(new Pen(Color.Black, 2), size, scale, gI, Canvas) { this.selectionArea = selectionArea; pen.DashStyle = System.Drawing.Drawing2D.DashStyle.Dash; }