0
我有2个窗体。 在form2中我有1个线程。 我必须从form1中停止它。从其他窗体停止线程(VB.net)
我想:
...
_Form1.threadname = stop()
...
但我会得到这个错误:
Error 1 ... threadname is not accessible in this context because it is 'Private'.
我该如何解决这个问题? 我不知道要公开什么。
我拿出你的'XAML'标签,因为似乎没有任何理由。 – OneFineDay