using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading;
namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        private void Form1_Load(object sender, EventArgs e)
        {
            string ss = "我是要传入的字符串";
            //开启线程(带参数)
            ThreadPool.QueueUserWorkItem(new WaitCallback(aa), ss); 
        }
        void aa(object o)
        {
            //线程中调用控件
            textBox1.BeginInvoke(new System.EventHandler(bb), o);
        }
        void bb(object o, EventArgs e)
        {
            textBox1.Text = o.ToString();
        }
    }
}