Пример #1
0
        /// <summary>
        /// Draw all points
        /// </summary>
        /// <param name="e"></param>
        protected override void OnPaint(PaintEventArgs e)
        {
            base.OnPaint(e);

            foreach (Line l in Lines)
            {
                l.Draw(e);
            }

            if (IsDrawing)
            {
                CurrentLine.Draw(e);
            }

            DrawCursor(e.Graphics);
        }