您好我在Backgroundworker遇到了麻烦。我有一个sub,我想传递一些变量 那个子(BackgroundWorker)。它说Private Sub BackgroundWorker1_DoWork无法处理事件公共事件DoWork,因为它们没有兼容的签名。这是代码
Private Sub BackgroundWorker1_DoWork(ByVal strArrDetails As String, ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork
似乎当我将ByVal strArrDetails As String放入参数时,BackgroundWorker1.DoWork将变为错误。有没有办法将变量传递给子?
请跟我好,因为我还在学习vb.net