dthree 0 Newbie Poster

Hi folks
I have a bitmap image inside of a picturebox. The image is built around the center of the picturebox. location (282,267) . I now need to rotate it around this point. I have tried

Private Sub Timer7_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer7.Tick


        gr.Clear(Color.Transparent)


        PictureBox2.Image = bmp
      
        gr.RotateTransform(1)


        paintcrosshairs()
    End Sub

It rotates around the (0,0) point of the picturebox. I then tried using

Private Sub Timer7_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer7.Tick
 Dim pointf = New PointF(282, 267)

        gr.Clear(Color.Transparent)


        PictureBox2.Image = bmp
        gr.Transform.RotateAt(1, pointf)
             paintcrosshairs()

This did nothing. but gave me no errors. How do i get the image to rotate around it's center? I have read a bunch of stuff on matrix's but don't know which way to head. Thanks for your help.