vb.net - Need a way to move a form with another form -


so have form ,the part under pink box transparent, orange reddish thing in box wallpaper.

and want have form this (where red box other form). , whenever move form 1, red form stays relative form 1. need red form follow form 1 when scrolling , down on form 1.

is possible? if how? should resolution of current monitor , math, or what?

try this

at form1_load event

 'set form2 toplevel property false can add child form form1     form2.toplevel = false     form2.parent = me     form2.formborderstyle = windows.forms.formborderstyle.none  'set form2 location.x,location.y, width , height. inside form1 upper left point of (0,0) related form2     form2.setbounds(50, 50, 100, 100)     form2.show() 

Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -