' This method is the DropDownItemClicked event handler.
' It passes the ClickedItem object to a utility method
' called UpdateStatus, which updates the text displayed
' in the StatusStrip control.
Private Sub FileToolStripMenuItem_DropDownItemClicked( _
ByVal sender As System.Object, _
ByVal e As System.Windows.Forms.ToolStripItemClickedEventArgs) _
Handles FileToolStripMenuItem.DropDownItemClicked
Me.UpdateStatus(e.ClickedItem)
End Sub