我用formula one,绑定了comtextmenu,在mouseup事件中,但现在遇到一个问题。
Point pop=new point(e.x,e.y);
this.comtextmenu.show(this.formula one,pop);
它却不能响应menuitem_click事件了,我该怎么办?
我已经弄了一天了,也不行,那位高手以帮忙解决。
Point pop=new point(e.x,e.y);
this.comtextmenu.show(this.formula one,pop);
它却不能响应menuitem_click事件了,我该怎么办?
我已经弄了一天了,也不行,那位高手以帮忙解决。
this.contextmenu.show(this.formula one,pop);
control.Visible = true;
control.CreateControl();
Point pos = new Point(-100,-22);//这里的两个数字要根据你的上下文菜单大小适当地调整
this.comtextmenu.Show(control,pos);
试试看上面这个