• Sorry forgot you are using ToolStrip, to close the menu use the HideDropDown method on the owning ToolStripMenuItem of RandomIntToolStripMenuItem

    Far away is close at hand in the images of elsewhere.
    Anon.