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