Results 1 to 3 of 3

Thread: Refresh Problem?

Threaded View

  1. #1

    Thread Starter
    Member leazfe's Avatar
    Join Date
    Mar 2004
    Location
    Spain
    Posts
    43

    Refresh Problem?

    I have the follow problem: The first time i draw the image I get a blank screen( The image stay only a half second) but the next time the image is good drawn. I have looked for a refresh method but i didn´t find it. Any help?

    By the way, i have to decide where i want the image to be drawn with the X and Y parameter and it is really stupid. Does anyone know another better way?

    The code is:
    Code:
    Dim gr As Graphics = Me.CreateGraphics
            Dim bmpUnten As New Bitmap("image.png")
    
            gr.DrawImage(bmpUnten, 50, 150)
    
            gr.Dispose()
            bmp.Dispose()
    Thanks,
    Alvaro
    Last edited by leazfe; Apr 30th, 2004 at 03:48 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width