Bonsoir,
pourriez vous me dépanner à compléter ce petit bout
de code
private void Form3_Load(object sender, EventArgs e)
{
Actif.desactiver5();
foreach (Control c in this.tableLayoutPanel1.Controls)
{
for (int j = 1; j <= 20; j++)
{
TextBox currentTextBox = this.tableLayoutPanel1.Controls[string.
Concat("textBox", j)] as TextBox;
currentTextBox.ForeColor = System.Drawing.Color.DarkGray;
// currentTextBox.MouseClick += this. ........? il est question de pouvoir faire un click sur chaque texteBox .
Merci d'avance.