DataGridViewCellMouseEventHandler 대리자

정의

에 의해 발생한 마우스 관련 이벤트를 처리할 메서드를 DataGridView나타냅니다.

public delegate void DataGridViewCellMouseEventHandler(System::Object ^ sender, DataGridViewCellMouseEventArgs ^ e);
public delegate void DataGridViewCellMouseEventHandler(object sender, DataGridViewCellMouseEventArgs e);
type DataGridViewCellMouseEventHandler = delegate of obj * DataGridViewCellMouseEventArgs -> unit
Public Delegate Sub DataGridViewCellMouseEventHandler(sender As Object, e As DataGridViewCellMouseEventArgs)

매개 변수

sender
Object

이벤트의 출처입니다.

e
DataGridViewCellMouseEventArgs

이벤트 데이터를 포함하는 A DataGridViewCellMouseEventArgs 입니다.

설명

대리자는 DataGridViewCellMouseEventHandler 다음 DataGridView 이벤트를 처리합니다.

대리자를 DataGridViewCellMouseEventHandler 만들 때 이벤트를 처리할 메서드를 식별합니다. 이벤트를 이벤트 처리기와 연결하려면 대리자의 인스턴스를 이벤트에 추가합니다. 대리자를 제거하지 않는 한 이벤트가 발생할 때마다 이벤트 처리기가 호출됩니다. 이벤트 처리기 대리에 대한 자세한 내용은 이벤트 처리 및 발생을 참조하세요.

확장명 메서드

Name Description
GetMethodInfo(Delegate)

지정된 대리자가 나타내는 메서드를 나타내는 개체를 가져옵니다.

적용 대상

추가 정보