المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : What is the best way to create a matrix in C#?



C# Programming
03-05-2013, 10:23 PM
Hey guys, I am trying to create a matrix which allows a user to either turn a square on or off by clicking it. It needs to be 6X8 squares. So far all I can think of is creating 48 buttons, or maybe even a panel split into 48 sections? I am looking for a solution that is not too complex, so any advice on how to do start this would be much appreciated!

Thank you!