// use this function for all other popups - at least it catches exceptions // parent's bounds are used to make sure popup fits into the parent; otherwise supply null and popup will be to the right of the location public static void ShowPopup(Control parent, string caption, Point location) { if (location.IsEmpty && parent != null) { location = parent.PointToScreen(popupOffset); } Project._ShowPopup(parent, caption, location, false); }