I'm writing a Winform application that processes a grid of products printed on a sheet. To more effectively communicate with my end user I've been tasked with creating a visual representation of the grid (as opposed to just giving them "Row x Col y in text" ) to depict which items on the sheet could not be processed.
My first thought was to use a grid of images (green check mark/red X) aligned in a grid to match the sheet that the app will actually process. The problem with that approach is that eventually we'll have different jobs that use different sheet alignments. One might be a 3x10 grid, another might be a 1x8 etc.
Is there something I can use to define an area of my form as reserved for images, and also a way to insert copies of my image file that have been resized to fit in that area?
Something like:
container.add(
new Image("myFileLocation", imgHeight, imgWidth),
(container.height / numRows),
(container.width/numCols)
);
?
Sorry if this is a stupid question. I'm comfortable in c# but have approximately zero experience designing GUIs for these things.