17-10-12, 06:05 PM
كاتب الموضوع : Boutemine Oualid
السلام عليكم و رحمة الله و بركاتهكود :
foreach (System.Windows.Forms.Control c in this.Controls)
{
if (c is System.Windows.Forms.TextBox) //Si le control est un textbox..
c.Text = "";
}