/// ------------------------------------------------------------------------------------ /// <summary> /// Shows the popup at the specified location (which is relative to ctrl) with the /// specified owning control. /// </summary> /// ------------------------------------------------------------------------------------ public virtual void Show(Control ctrl, Point location) { if (ctrl == null) { OwningDropDown.Show(location); } else { OwningDropDown.Show(ctrl, location); } }
/// ------------------------------------------------------------------------------------ /// <summary> /// Shows the popup at the specified screen location. /// </summary> /// ------------------------------------------------------------------------------------ public virtual void Show(Point screenLocation) { OwningDropDown.Show(screenLocation); }