Im trying to write a usercontrol that has a 10 x 10 grid of textboxes, keyboard navigation between them and keyboard increment/decrement and then custom highlighting dependent on variables coming in on my coms module.
My idea was to store the textboxes in a 2D array for easier referencing. Am I going obout this the right way? Any other pointers?
It could work.
You should also take a look at the TableLayoutPanel, it will probably provide a lot of the layout and navigation you need. You can find a Control form a Tablelayout with GetControlFromPosition(row, col), but if you want to maintain a parallel array that won’t hurt.