5 references to CalculateDropDownLocation
System.Windows.Forms (5)
winforms\Managed\System\WinForms\ContextMenuStrip.cs (3)
102Rectangle bounds = CalculateDropDownLocation(new Point(x,y), ToolStripDropDownDirection.AboveLeft); 105bounds = CalculateDropDownLocation(new Point(x,y), ToolStripDropDownDirection.BelowLeft); 108bounds = CalculateDropDownLocation(new Point(x,y), ToolStripDropDownDirection.AboveRight);
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
2061this.displayLocation = CalculateDropDownLocation(control.PointToScreen(position), direction).Location; 2085this.displayLocation = CalculateDropDownLocation(position, direction).Location;