5 references to CalculateDropDownLocation
System.Windows.Forms (5)
System\Windows\Forms\ContextMenuStrip.cs (3)
97
Rectangle bounds =
CalculateDropDownLocation
(new Point(x, y), ToolStripDropDownDirection.AboveLeft);
101
bounds =
CalculateDropDownLocation
(new Point(x, y), ToolStripDropDownDirection.BelowLeft);
105
bounds =
CalculateDropDownLocation
(new Point(x, y), ToolStripDropDownDirection.AboveRight);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
1835
_displayLocation =
CalculateDropDownLocation
(control.PointToScreen(position), direction).Location;
1857
_displayLocation =
CalculateDropDownLocation
(position, direction).Location;