autoredraw in .net?

  • Thread starter Thread starter Gary
  • Start date Start date
G

Gary

hi,

what is the change over from vb6 to vb.net in the case of
picturebox1.autoredraw = true ?

thanks,

Gary
 
Hi Gary,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to know where the AutoRedraw
property has gone in .NET's PictureBox. If there is any misunderstanding,
please feel free to let me know.

As far as I know, Visual Basic .NET has a new forms package, Windows Forms.
Windows Forms is largely compatible with the forms package found in Visual
Basic 6; however, there are some key differences. Windows Forms has a new
set of graphics commands that replace the Form methods Circle, CLS, PSet,
Line, and Point. Because the new object model is quite different from
Visual Basic 6.0, these methods cannot be upgraded. In .NET, PictureBox
using another kind of skill to persist shapes. You can handle the Paint
event to achieve this. It is much more similar to Win32 SDK in .NET than in
VB6.

For more information, please check the following links:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvb600/htm
l/vb6tovbdotnet.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vb98/html/v
bproAutoRedraw.asp

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
Back
Top