Exemplo n.º 1
0
 private void ActivateDropDownMenu(object sender)
 {
     DropDownMenu.Left = this.Left;
     DropDownMenu.Top  = this.Top + 1;
     DropDownMenu.Layout();
     if (AnchorRight)
     {
         DropDownMenu.Left = this.Right - DropDownMenu.Width;
         DropDownMenu.Layout();
     }
     DropDownMenu.Activate((Screen)sender, this);
 }