A big problem with the Picturebox drawing of VB???

zhaozj2021-02-16  44

I am writing a discovers in the drawing board with VB,

When I do the undo function of the gun, I encountered an inexplicable problem as follows:

For i = -10 to 10 Step 3 for j = -10 to 10 step 3 m = x rND * i * 10 n = y rND * j * 10 V (l) = m t (l) = n l = L 1 Picture1.pset (m, n) Next J next i

This is the program when drawing the spray gun, which is the process of revoking is the program (I use the Picturebox background color to do one another side):

For u = 0 to L - 1 m = v (u) n = t (u) u = u 1 Picture1.pset (m, n), Picture1.backcolor Next U

It can be the result is only most of the points, and there are a few points that have not been painted.

The heroes can help me solve it, I will grateful !!!!

转载请注明原文地址:https://www.9cbs.com/read-22564.html

New Post(0)