我可以在MODULE中输入(我)的内容 [英] WHAT CAN I PUT INSTEAD of (me) in the MODULE

查看:91
本文介绍了我可以在MODULE中输入(我)的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们都知道,如果我们把(Me)放在一个模块中它没有任何意义

但是我可以用什么来代替呢

i想要在它中使用它(调用请求)和(调用)



我尝试过:



We all know that if we put (Me) in a module it doesnt make any sense
but what can i put instead of it
i want to use it in (invoke request) and (invoke)

What I have tried:

If Me.InvokeRequired Then
                       Dim j As New _Data(AddressOf Data)
                       Me.Invoke(j, New Object() {file, B})
                       Exit Sub
                   End If

推荐答案

模块中没有这样的东西。



Me指的是代码所在类的当前实例。模块中没有等效项,因为您没有创建模块的实例。



您对此代码做了什么,为什么它在模块中?
There is no such thing in a Module.

"Me" refers to the current instance of the class the code is in. There is no equivalent in a Module because you don't create an instance of a Module.

What are you doing with this code and why is it in a Module?


这篇关于我可以在MODULE中输入(我)的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆