2 writes to lastInsertionMarkRect
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ToolStrip.cs (2)
2053
lastInsertionMarkRect
= Rectangle.Empty;
3988
lastInsertionMarkRect
= insertionRect;
30 references to lastInsertionMarkRect
System.Windows.Forms (30)
winforms\Managed\System\WinForms\ToolStrip.cs (30)
2047
if (
lastInsertionMarkRect
!= Rectangle.Empty) {
2052
Rectangle invalidate =
lastInsertionMarkRect
;
3934
if (
lastInsertionMarkRect
!= Rectangle.Empty) {
3937
int start =
lastInsertionMarkRect
.X;
3942
new Point[] { new Point(verticalBeamStart,
lastInsertionMarkRect
.Y), new Point(verticalBeamStart,
lastInsertionMarkRect
.Bottom-1), // first vertical line
3943
new Point(verticalBeamStart+1,
lastInsertionMarkRect
.Y), new Point(verticalBeamStart+1,
lastInsertionMarkRect
.Bottom-1), //second vertical line
3947
new Point[] { new Point(start,
lastInsertionMarkRect
.Bottom-1), new Point(start + widthOfBeam-1,
lastInsertionMarkRect
.Bottom-1), //bottom line
3948
new Point(start+1,
lastInsertionMarkRect
.Bottom -2), new Point(start + widthOfBeam-2,
lastInsertionMarkRect
.Bottom-2),//bottom second line
3952
new Point[] { new Point(start,
lastInsertionMarkRect
.Y), new Point(start + widthOfBeam-1,
lastInsertionMarkRect
.Y), //top line
3953
new Point(start+1,
lastInsertionMarkRect
.Y+1), new Point(start + widthOfBeam-2,
lastInsertionMarkRect
.Y+1)//top second line
3959
int start =
lastInsertionMarkRect
.Y;
3964
new Point[] { new Point(
lastInsertionMarkRect
.X, horizontalBeamStart), new Point(
lastInsertionMarkRect
.Right-1, horizontalBeamStart), // first vertical line
3965
new Point(
lastInsertionMarkRect
.X, horizontalBeamStart+1), new Point(
lastInsertionMarkRect
.Right-1, horizontalBeamStart+1), //second vertical line
3969
new Point[] { new Point(
lastInsertionMarkRect
.X, start), new Point(
lastInsertionMarkRect
.X, start + widthOfBeam-1), //left line
3970
new Point(
lastInsertionMarkRect
.X+1, start+1), new Point(
lastInsertionMarkRect
.X+1, start + widthOfBeam-2), //second left line
3974
new Point[] { new Point(
lastInsertionMarkRect
.Right-1, start), new Point(
lastInsertionMarkRect
.Right-1, start + widthOfBeam-1), //right line
3975
new Point(
lastInsertionMarkRect
.Right-2, start+1), new Point(
lastInsertionMarkRect
.Right-2, start + widthOfBeam-2), //second right line
3986
if (
lastInsertionMarkRect
!= insertionRect) {