Rubberbanding around a control/shape
Posted on 2010-08-19
I am creating an application in c#.NET 3.5 similar to Microsoft Power point.
I am having provisions to draw shapes and place controls in a page.
When user selects multiple pages, I need to show that the controls and shapes in the page are selected with a rubber band drawn around them.
Based on the selection, I would need to have the same functionalities of a selected control / shape such as resizing, moving, deleting etc.
Please let me know what I should do in the code to show that a control or a shape is 'selected' in the page.