HideDropDown() 공개 메소드

public HideDropDown ( ) : void
리턴 void
 private void HideSiblingDropDowns(ToolStripDropDownItem item)
 {
     try
     {
         ToolStripItem menuItem = this.MenuItem;
         while (item != menuItem)
         {
             item.HideDropDown();
             if (item.Owner is ToolStripDropDown)
             {
                 item = (ToolStripDropDownItem) ((ToolStripDropDown) item.Owner).OwnerItem;
             }
             else
             {
                 return;
             }
         }
     }
     catch (Exception exception)
     {
         if (System.Windows.Forms.ClientUtils.IsCriticalException(exception))
         {
             throw;
         }
     }
 }