Beispiel #1
0
        private void drawingPictureBox_MouseUp(object sender, MouseEventArgs e)
        {
            if (currentStroke.GetNumberOfPoints() > 1)
            {
                currentStroke.AddSignificantPoint(e.Location);

                graphics.FillRectangle(significantPointBrush, e.Location.X - 4, e.Location.Y - 4, 9, 9);
            }
        }