contextmenustrip指定父级
时间: 2023-11-21 14:06:30 浏览: 72
根据引用中的代码,可以在richTextBox控件的属性中找到ContextMenuStrip这个属性,在行为下选择已近存在的ContextMenuStrip1,将其作为父级菜单。这样,在richTextBox控件中单击右键时,将会显示选择列表。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [WindowForm组件MenuStrip,ContextMenuStrip](https://blog.csdn.net/asdasd1fdsyrt/article/details/113956338)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [c# ContextMenuStrip控件简单用法](https://blog.csdn.net/kouzhili1792/article/details/107092019)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文