private void pictureBox2_MouseUp(object sender, MouseEventArgs e)
        {
            if (startDDAPointX != 0 && startDDAPointY != 0)
            {
                PomogiTask3.LineDDA(startDDAPointX, startDDAPointY, e.X, e.Y, pictureBox2);
            }

            startDDAPointX = e.X;
            startDDAPointY = e.Y;
        }
        private void pictureBox1_MouseUp(object sender, MouseEventArgs e)
        {
            if (startBresenhamPointX != 0 && startBresenhamPointY != 0)
            {
                PomogiTask3.BresenhamLine(startBresenhamPointX, startBresenhamPointY, e.X, e.Y, pictureBox1);
            }

            startBresenhamPointX = e.X;
            startBresenhamPointY = e.Y;
        }