09-20-2011 12:20 PM - edited 09-20-2011 12:22 PM
Hello,
I guess it happened to me to encounter the minor bugs in VDM 2011 for Visual Studio
. I created this subroutine to initialize the viewers in my project:
''' <summary>
''' Setting up the viewer to be colored and filled with the dedired color
''' </summary>
''' <param name="img">the image viewer</param>
Friend Sub SetUpImageViewer(ByRef img As ImageViewer)
With img
.Image.Type = ImageType.Rgb32
.BackgroundOptions.FillStyle = BackgroundFillStyle.Solid
.BackColor = Color.Black
.ZoomToFit = True
End With
I have noticed two observations: