GremlinSA
July 23rd, 2008, 06:08 AM
This was the First GDI test Done..
The task is to simply tile a Bitmap image across the form's background.
A loop counter is included so that we can loop over the code multiple times and get more accurate time data..
Apart from the two project files attached there was one more submition to this test that needs mention..
Hannes posted the following Private Sub Form1_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseClick
Me.BackgroundImageLayout = ImageLayout.Tile
Me.BackgroundImage = PictureBox1.Image
End Sub
The task is to simply tile a Bitmap image across the form's background.
A loop counter is included so that we can loop over the code multiple times and get more accurate time data..
Apart from the two project files attached there was one more submition to this test that needs mention..
Hannes posted the following Private Sub Form1_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseClick
Me.BackgroundImageLayout = ImageLayout.Tile
Me.BackgroundImage = PictureBox1.Image
End Sub