با استفاده از این کلاس.هرچنتا تکس باکس با هر نامی روی فرم باشه رو خالی میکنه

نحوه صدا زدنش به این صوررته
utility.MyTextBoxes(this, "Clear");


یه کلاس ایجاد کنین و کد های زیر درونش قرار بدین

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;

public class utility
{

public static void MyTextBoxes(Control container, string CommandName)
{

foreach (Control c in container.Controls)
{
MyTextBoxes(c, CommandName);

if (c is TextBox)
{
switch (CommandName)
{
case "Clear":
c.Text = "";
break;
case "ReadOnly":
((TextBox)c).ReadOnly = true;
break;
}

}
}
}
}