capture 0 - Magnifying Form Window In VB.NET - Free Source Code

Magnifying Form Window In VB.NET – Free Source Code

Posted on

capture 0 - Magnifying Form Window In VB.NET - Free Source Code

This program will can help you enlarge regardless of the laptop mouse is hovering on. You’ll be able to resize the shape too. To activate the magnifying window, you must click on on the shape as soon as.

All we want is a ‘pictureBox’ and a ‘Timer’. The timer will do many of the job with 18 traces of code. First we’ve got to code the mouse positions and the syncing of the magnifying kind. We set our decision in ‘MousePosition.Y’ and ‘MousePosition.X’.

However that is not the top of the code, within the timer we must declare a drawing.bitmap.

All that is relaxation, is the mouse click on code. Go to the Type properties and set a Form1_MouseClick occasion. We are going to set our timer interval and make it begin.

Hope you study one thing from this! This program was made in VB.NET model 3.5 framework, in Visible Studio 2017.


Source link