|
-
Jul 13th, 2017, 07:50 AM
#1
Thread Starter
Member
After doing Me.windwstate=formwindowstate.maxmized then form becomes blank.
Me.Width = (Screen.PrimaryScreen.Bounds.Width)
Me.Height = (Screen.PrimaryScreen.Bounds.Height)
imgDelta.Image = System.Drawing.Image.FromFile("amit.jpg")
Me.Visible = True
Me.CreateGraphics.DrawImage(imgDelta.Image, 0, 0, Me.Width, Me.Height)
Me.WindowState = FormWindowState.Maximized
after performing Me.windowstate step in vb.net, form become blank and no jpeg mage is showing in form, and also when control goes from form_load method all draw image part gets blank.
before Me.windowstate step ,form is painted with jpeg image.
Kindly help me toresolve this issue.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|