When coding the equivelent of control arrays in vb.Net, I have been using event functions with multiple Handles parameters.

ie,
VB Code:
  1. Private Sub mnuFileModify_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuFileModify.Click, mnuFileInsert.Click, mnuFileDelete.Click

My question then is how to detect from the Sender parameter the name of the individual control.

I can use the following code to extract various properties - ie, the "Text" property - but I would prefer to actually refer to the Control Name (mnuFileInsert etc.)

VB Code:
  1. Dim mnuX As MenuItem
  2.       mnuX = CType(sender, MenuItem)
  3.       if mnuX.Text.StartsWith("Insert" Then
  4. ...
  5.       End If

Can anyone help?