enum System.Windows.Forms.ToolStripDropDownCloseReason:

   def enum
      AppFocusChange = 0
      AppClicked = 1
      ItemClicked = 2
      Keyboard = 3
      CloseCalled = 4.

end enum.
