C# exception. File is being used by another process

前端 未结 7 1754
北恋
北恋 2020-12-19 06:43

I\'m playing around with C# and I encountered a problem. When I try to make a new file, the program breaks and says that the file is being used by another process. It\'s pro

7条回答
  •  清歌不尽
    2020-12-19 06:48

    Use

    myDropDown_invokedMethod();
    

    instead of

    this.BeginInvoke(new MethodInvoker(myDropDown_invokedMethod));
    

提交回复
热议问题