/// ------------------------------------------------------------------------------------ /// <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> /// Hides the popup. /// </summary> /// ------------------------------------------------------------------------------------ public new virtual void Hide() { OwningDropDown.Hide(); }
/// ------------------------------------------------------------------------------------ /// <summary> /// Shows the popup at the specified screen location. /// </summary> /// ------------------------------------------------------------------------------------ public virtual void Show(Point screenLocation) { OwningDropDown.Show(screenLocation); }