المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How to select rectangles and return value from the selected rectangles?



C# Programming
11-11-2009, 02:25 AM
Hi All,

I have rows and columns of rectangles which act as a rack system. Please see the attached picture.

http://i446.photobucket.com/albums/qq185/toe_toe7/C%20Sharp/test.jpg[^ (http://i446.photobucket.com/albums/qq185/toe_toe7/C%20Sharp/test.jpg)]

What I am trying to do now is as follow:

1. Left click to select single rectangle
2. Ctrl+Left click to select multiple rectangles one by one
3. Drag and create a boundary to select multiple rectangles within the boundary.

And after selecting, I would need to return the selected rectangles value.

I was told to use ILOG but I just wonder if it could be done without it.

Thanks in advance..http://www.barakasoft.com/script/Forums/Images/smiley_smile.gif