foreach (Control control in this.TpChange.Controls)
{
//MessageBox.Show(control.GetType().ToString());
if (control.GetType().ToString() == "System.Windows.Forms.RichTextBox")
{
((System.Windows.Forms.RichTextBox)control).Text = "";
}
}
{
//MessageBox.Show(control.GetType().ToString());
if (control.GetType().ToString() == "System.Windows.Forms.RichTextBox")
{
((System.Windows.Forms.RichTextBox)control).Text = "";
}
}