Handles the click event of a tool strip item, if the Tag is
an ICommand instance the action is executed.
| C# | Visual Basic | Visual C++ |
public static void CommandItemClick( Object sender, EventArgs e )
Public Shared Sub CommandItemClick ( _ sender As Object, _ e As EventArgs _ )
public: static void CommandItemClick( Object^ sender, EventArgs^ e )
- sender (Object)
- The sender.
- e (EventArgs)
- The EventArgs instance containing the event data.