0
메서드에 오버로드가 발생하여 이벤트에 할당 될 수 있습니다. 이것을하기위한 더 좋은 방법이 있어야합니다.오버로드 메서드를 사용하여 이벤트 처리기로 추가 할 수 있습니까?
myMethod(){
//Does some stuff...
}
myMethod(object sender, FormClosingEventArgs e){
myMethod();
}
Form.FormClosing += new FormClosingEventHandler(myMethod);
@pst 어떻게 도움이 될까요? 과부하 해결은 여기에 문제가되지 않습니다 –