Is there any proper or simple way to arrange the button in a GRID?? I’ve buttons created in runtime.
Here is the format:
Button1 Button2 Button3
Button4 Button5 Button6
Button7 Button8 Button9
I am using C#.net with Visual Studio 2008.
Just create a TableLayoutPanel before you create the Buttons and add the Buttons to the TableLayoutPanel, then add the TableLayoutPanel to the parent-control on which you wanted to show the Buttons.
There should even be a possibility to add the buttons to a specific cell of the TableLayoutPanel.