bonjour,
je cherche comment créé un button en cliquant sur un button ("add butt")
pour le moment j'ai :
mais comment faire pour l'ajouter sur la form?Code:
1
2
3
4
5
6
7 Button btn = new Button(); btn.Location = new System.Drawing.Point(12, 12); btn.Name = "button1"; btn.Size = new System.Drawing.Size(75, 23); btn.TabIndex = 0; btn.Text = "button1"; btn.UseVisualStyleBackColor = true;
merci