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 = "";
                }
            }
posted on 2008-12-02 16:38  bestsaler  阅读(140)  评论(0编辑  收藏  举报