摘要:
使用ReSharper时,系统自带的方法含有下划线,就会提示Name 'button1_click' does not match rule 'Methods, properties and events',Suggested name is 'Buttion1Click'解决方法:ReSharper->Options->Languages->Naming Style. 选择Advanced settings,在Event subscriptions on后面的文本框中输入$object$_$event$,保存即可 当自定义类名 阅读全文