解决方案 »

  1.   

    GetMessageFormatsCompleted是个事件
    一个控件可以绑定多个事件
    所以你只能添加一个事件,或者去掉一个事件
    而不能仅仅给它赋值一个事件
      

  2.   

    就好比arraylist是个数组,
    你只能执行arraylist.add(int)
    或者arraylist.remove(int)
    而不能arraylist=int
      

  3.   

                    this.GetMessageFormatsCompleted += (GetMessageFormatsCompletedEventHandler)Delegate.Combine(this.GetMessageFormatsCompleted, value);
    this.GetMessageFormatsCompleted += (GetMessageFormatsCompletedEventHandler)Delegate.Remove(this.GetMessageFormatsCompleted, value);event事件,事件就是只能添加和移出
      

  4.   

    这代码是反编译的,而且反编译程序本身有bug
    用新版的ILSpy反编译,可以正确处理event的add remove
      

  5.   

    this.GetMessageFormatsCompleted += value;
    this.GetMessageFormatsCompleted -= value;这样的?