2 writes to Offset2X
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (2)
589Offset2X = ScaleHelper.ScaleToInitialSystemDpi(OFFSET_2PIXELS); 599Offset2X = ScaleHelper.ScaleToDpi(OFFSET_2PIXELS, dpi);
22 references to Offset2X
System.Windows.Forms (22)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (12)
195middle.X - Offset2X, 197middle.X + Offset2X, 200middle.X - Offset2X + 1 + rightToLeftShift, 202middle.X + Offset2X + 1 + rightToLeftShift, 1657new(middle.X - Offset2X, middle.Y + 1), 1658new(middle.X + Offset2X + 1, middle.Y + 1), 1663new(middle.X + Offset2X, middle.Y - Offset2Y - 1), 1664new(middle.X + Offset2X, middle.Y + Offset2Y + 1), 1669new(middle.X - Offset2X, middle.Y - Offset2Y - 1), 1670new(middle.X - Offset2X, middle.Y + Offset2Y + 1), 1675new(middle.X - Offset2X, middle.Y - 1), 1676new(middle.X + Offset2X + 1, middle.Y - 1),
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (10)
636int horizontalOffset = ScaleHelper.IsScalingRequirementMet ? s_offset4X - Offset2X : Offset2X; 642new(middle.X - Offset2X, middle.Y + 1), 643new(middle.X + Offset2X + 1, middle.Y + 1), 648new(middle.X + Offset2X, middle.Y - s_offset4Y), 649new(middle.X + Offset2X, middle.Y + s_offset4Y), 654new(middle.X - Offset2X, middle.Y - s_offset4Y), 655new(middle.X - Offset2X, middle.Y + s_offset4Y), 660new(middle.X - Offset2X, middle.Y - 1), 661new(middle.X + Offset2X + 1, middle.Y - 1),