Dim Strip As WinForm.Strip
Strip = e.Form.Strips.Add("打印快捷菜单", StripTypeEnum.ContextMenu)
Strip.Items.Add("入境卫生检疫证", "入境卫生检疫证", "new.ico", StripItemTypeEnum.MenuItem)
Strip.Items.Add("出境卫生检疫证", "出境卫生检疫证", "Open.ico", StripItemTypeEnum.MenuItem)
e.Form.Controls("打印").ContextStrip = e.Form.Strips("打印快捷菜单")
以上代码,点击某个按钮就会出现两个菜单,现在想能不能将这两个菜单增加一个上级目录,比如说我点击按钮先出现一个菜单,然后挪动光标,再下一级的菜单中出现现有的这两个菜单。