How to pass multiple parameters in thread in VB

前端 未结 8 1434
面向向阳花
面向向阳花 2020-12-30 05:31

I\'m looking to pass two or more parameters to a thread in VB 2008.

The following method (modified) works fine without parameters, and my status bar gets updated ver

8条回答
  •  太阳男子
    2020-12-30 05:54

    Dim evaluator As New Thread(Sub() Me.testthread(goodList, 1))
    With evaluator
    .IsBackground = True ' not necessary...
    .Start()
    End With
    

提交回复
热议问题