- In the extension bar, click the AdBlock Plus icon
- Click the large blue toggle for this website
- Click refresh
- In the extension bar, click the AdBlock icon
- Under "Pause on this site" click "Always"
- In the extension bar, click on the Adguard icon
- Click on the large green toggle for this website
- In the extension bar, click on the Ad Remover icon
- Click "Disable on This Website"
- In the extension bar, click on the orange lion icon
- Click the toggle on the top right, shifting from "Up" to "Down"
- In the extension bar, click on the Ghostery icon
- Click the "Anti-Tracking" shield so it says "Off"
- Click the "Ad-Blocking" stop sign so it says "Off"
- Refresh the page
- In the extension bar, click on the uBlock Origin icon
- Click on the big, blue power button
- Refresh the page
- In the extension bar, click on the uBlock icon
- Click on the big, blue power button
- Refresh the page
- In the extension bar, click on the UltraBlock icon
- Check the "Disable UltraBlock" checkbox
- Please disable your Ad Blocker
- Disable any DNS blocking tools such as AdGuardDNS or NextDNS
- Disable any privacy or tracking protection extensions such as Firefox Enhanced Tracking Protection or DuckDuckGo Privacy.
If the prompt is still appearing, please disable any tools or services you are using that block internet ads (e.g. DNS Servers, tracking protection or privacy extensions).
Question
+theblazingangel MVC
i'm having trouble drawing some graphics, and i've been unable so far to find solutions to the following problems
1) displaying the initial image - when the form is displayed you see the image for a split second, but the imagebox object is immediately overwritten with a white background. i believe the problem is due to having put the drawing code in a function hooked to the forms load event, the code is being run before the form is displayed, and then once it is, for some reason the contents of the image box is wiped clean. i suppose i need to find a different event to hook onto so that the drawing is done after the form has been fully displayed, but what... i've tried the paint event but that didn't work...
2) i also need to have it redisplay the image after the form regains focus (it seems to loose it for some reason after loosing focus...). i hooked a function up to the paint event for the image box, but that didn't seem to have any effect...
thanks in advance for any help ;)
p.s. yes, this is college work incase anyone wonders, however i've already done and gone beyond what i was supposed to do, this is just me trying to squish some bugs to improve my code :p
Link to comment
https://www.neowin.net/forum/topic/622142-vbnet-drawing-graphics-with-form-load-type-events/Share on other sites
2 answers to this question
Recommended Posts