共用方式為


DiagramKeyPressEventHandler Delegate

Definition

Delegate for handling key press events.

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

Parameters

sender
Object

Object that raised the event.

e
DiagramKeyPressEventArgs

Event arguments.

Applies to