当我尝试在上下文菜单中编辑项目时,Visual Studio(8.0版)崩溃. [英] Visual Studio (version 8.0) crashing when I try to edit items in a contextmenu.

查看:88
本文介绍了当我尝试在上下文菜单中编辑项目时,Visual Studio(8.0版)崩溃.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

推荐答案

Arbu,

我只是遇到了这个错误,非常烦人!每次您需要杀死VS!我有一个控件,该控件带有一个由几个ContextMenuStrip菜单组成的嵌套菜单.
所以我发现了两种方法:1..断开嵌套菜单与主菜单中的项目的连接(将其从相应的 DropDown 属性中删除),添加/删除项目,然后重新将其重新连接. br> 2.编辑嵌套菜单不是从嵌套菜单本身,而是从主菜单:在主菜单中,单击相应的 DropDownItems (Collection)属性,然后现在在嵌套菜单中.您可以在其中添加项目而不会出错...

HTH,
Igor
Arbu,

i just had this error, very annoying! every time u need to kill the VS! i have a control with a nesting menu made from a few ContextMenuStrip menus.
So i discovered two ways how to do it:
1. disconnect the nested menu from the item in the main menu (remove it from the corresponding DropDown property), add/remove item(s) and reconnect it back.
2. edit the nested menu not from the nested menu itself, but from the main menu: in the main menu click on the corresponding DropDownItems (Collection) property and u're in the nested menu now. u can add items there without errors...

HTH,
Igor


这篇关于当我尝试在上下文菜单中编辑项目时,Visual Studio(8.0版)崩溃.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆