ToolStripItemClickedEventHandler 委托

定义

表示将用来处理 ItemClickedToolStripItem 事件的方法。Represents the method that will handle the ItemClicked event of a ToolStripItem.

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

参数

sender
Object

事件源。The source of the event.

e
ToolStripItemClickedEventArgs

包含事件数据的 ToolStripItemClickedEventArgsA ToolStripItemClickedEventArgs that contains the event data.

继承
ToolStripItemClickedEventHandler

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于

另请参阅