I need to set an array of structures RectagleF to pass it to "DrawRectangles" method of the "Graphic" class:
In the following code I create an array in a simple way for only three instances. But I must create many instances of structure
RectagleF to plot them together.
Is there a way to create this array in an automatic way? Or another method to implement this plot?
My final goal is to plot a graphic with at least 50 very little rectangles (that represent 50 coordinates) which are displayed in 2 mode: firts one an empty and black rectangle and the second one is a full and green rectangle. The user wants to click on
the rectangle to change the mode of it.
Can you help me?
Public Sub DrawRectangleRectangle(ByVal sender As Object, ByVal e As PaintEventArgs)
Dim blackPen As
View Complete Post