我对 VS2008 很陌生,我一直在到处寻找,但找不到任何解决我问题的方法。这是代码:
private void btnScan_Click(object sender, EventArgs e)
{
{
if (!msgfilter)
{
this.Enabled = false;
msgfilter = true;
Application.AddMessageFilter(this);
}
tw.Acquire(); <-- This is where the error shows
}
}