namespace WindowsForms
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        private Thread thread;        private void button1_Click(object sender, EventArgs e)
        {
            //主线程
            for (int i = 100; i < 150; i++)
            {
                listBox1.Items.Add(i);
                Thread.Sleep(100);
                listBox1.Refresh();
            }            //新开线程
            ThreadStart start = new ThreadStart(Start);
            thread = new Thread(start);
            thread.Start();            //Thread cThread = new Thread(new ThreadStart(Start));
            //cThread.Start();
          
        }        delegate void aa();
        private void Start()
        {
            aa a = delegate()
            {
                for (int i = 0; i < 50; i++)
                {
                    listBox1.Items.Add(i);
                    Thread.Sleep(100);
                    listBox1.Refresh();
                }
            };
            listBox1.Invoke(a);
        }    }
}
想让主线程和新开线程同时交替往listBox1中填充数据,应该怎么做?我上面的写法错在哪了?