-event- can only appear on the left hand side of += or -=

前端 未结 4 1092
傲寒
傲寒 2020-11-29 07:22

I have an event in a loop. I am trying to prevent the same method being added to an event more than once. I\'ve implemented the add and remove acce

4条回答
  •  心在旅途
    2020-11-29 07:41

    It seems that if you implement the EventHandler explicitly, you can't refer to the 'Property' when firing the event. You must refer to the backing store.

提交回复
热议问题