[英]Context Menu Item is not showing when form is running
I have created context menu item on windows forms application. 我在Windows窗体应用程序上创建了上下文菜单项。 But when i run the application and when i try to right click, created menu item is not showing up
但是当我运行应用程序时,当我尝试右键单击时,创建的菜单项没有显示出来
My Code: 我的代码:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication7
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
}
}
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.