public void Show (Control control, Point pos)
{
if (control == null)
throw new ArgumentException ();
src_control = control;
OnPopup (EventArgs.Empty);
//m_view.RemoveAllItems();
//m_view.InsertItem("beep",null,"",0);
var point = control.m_view.ConvertPointToBase(pos);
NSMenu.PopUpContextMenu(m_view,NSEvent.MouseEvent(NSEventType.LeftMouseUp,point,NSEventModifierMask.ShiftKeyMask,0,NSApplication.SharedApplication.MainWindow.WindowNumber,new NSGraphicsContext(),0,1,1f),control,NSFont.MenuBarFontOfSize(12));
//m_view.PopUpMenu(new NSMenuItem("test",""),pos,control);
OnCollapse (EventArgs.Empty);
}