怎么生成菜单的分隔符? 我是用toolstripmenuitem来定义右键菜单项的,我想不同类型的菜单都用长线区分开来,我这么实例化菜单项的new ToolStripMenuItem("-"),发现不对 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 ToolStripItem[] new_added_menu_items = { new ToolStripMenuItem("-"), new ToolStripMenuItem("定位户", null, btn_locate_in_geometry_Click), new ToolStripMenuItem("鼠标获取地理位置", null, btn_mouse_get_geom_Click), new ToolStripMenuItem("手动设置地理位置", null, btn_edit_geom_Click) }; menu_items_list.AddRange(new_added_menu_items); right_menu.Items.Clear(); right_menu.Items.AddRange(menu_items_list.ToArray()); right_menu.Show(Control.MousePosition); 我就想用ToolStripMenuItem这个类 实例化一个分隔符出来 怎么搞? System.Windows.Forms.ToolStripSeparator 安装blend的问题 ASP.NET角色管理的疑问 C# 水晶报表照片的显示 <authorization>的问题 求助正则表达式问题 ASP.NET中怎么接受储存过程的返回值? 一个SQL查询语句的问题 ComboBox绑定DataTable时绑定值为System.Data.DataView 如何定义一个sqlconnection类,可以让该namespace下的其他类可以访问 我是菜鸟,问一个关于入口点的问题。 C#Winform读取HTML里面的图片路径并替换指定路径 怎么取C#取word合并后的Cell中的Text
new ToolStripMenuItem("-"),
new ToolStripMenuItem("定位户", null,
btn_locate_in_geometry_Click),
new ToolStripMenuItem("鼠标获取地理位置", null,
btn_mouse_get_geom_Click),
new ToolStripMenuItem("手动设置地理位置", null, btn_edit_geom_Click)
};
menu_items_list.AddRange(new_added_menu_items); right_menu.Items.Clear();
right_menu.Items.AddRange(menu_items_list.ToArray()); right_menu.Show(Control.MousePosition);