I have a form called frmMainForm. On that form I have a datagridview containing several products. When I click on a rowheader of the datagridview another form openes called frmCuts. On the frmCuts you can add coordinates for a product. For example (2, 2, 67, 103).
How can I assign these coordinates to the row in the datagridview? I am not allowed to save the coordinates in the database.
How do I save them for the duration that the program is open?
Bodylojohn Wednesday, February 07, 2007 12:01 PM
Define a class named coordinateswhich have four properties X,Y,Width,Height; then use a IList object to store the coordinates objects. something as:
cors = newArrayList();
cors.Add(newcoordinates(0,0,35,25));
Zhi-Xin Ye Wednesday, February 07, 2007 1:40 PM
Define a class named coordinateswhich have four properties X,Y,Width,Height; then use a IList object to store the coordinates objects. something as: