5 references to CalculateDropDownLocation
System.Windows.Forms (5)
System\Windows\Forms\ContextMenuStrip.cs (3)
97Rectangle bounds = CalculateDropDownLocation(new Point(x, y), ToolStripDropDownDirection.AboveLeft); 101bounds = CalculateDropDownLocation(new Point(x, y), ToolStripDropDownDirection.BelowLeft); 105bounds = 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;