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