Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
hey guys,
i'm developing a program in vb.net. i have a datagrid in my form. once the datagrid
is over 15 rows, i want to activate a picturebox to pb.visible = true (the picture is an arrow faces down) and change the pb.top up and down by 50 points, that way it will look like its going up and down. i use thread.sleep and it cause some issues because the form want response during the sleep (dahhhhh). anyway, i read the backgroundworker is able to solve this. i need the backgroundworker to work at the background during the whole time the pictureBox is set to visible = true. the problem is i new to the subject of multyThreading and i didnt manage to make it threw. any code will be good....
thanks a lot,
oron.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900