Click here to Skip to main content
15,921,174 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
i have two picturebox in C#
now i want if user load image in picturebox1 and after load image in picturebox1 user select some pixel in image from picturebox1 and automatic drow selected pixel in picturebox2
please help me
thanks in advance
Posted

1 solution

PictureBoxs don't have any concept of "Selected Pixels" so you'll have to implement that yourself. If you handle some combination of the MouseClick/Down/Up events you can manually define what it means to select a pixel and then duplicate that action on the second picture box whenever the user does it.
 
Share this answer
 

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