İlla modülerlik katılacaksa;
void createButtons(Size size, Point location, string text, int increaseX = 0, int increaseY = 0) {
for(int i = 0; i < 10; i++) {
Button btn = new Button();
btn.Text = text;
btn.Location = new Point(location.X + increaseX, location.Y +...