2 writes to _cxIcon
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ComponentTray.cs (2)
2451
_cxIcon
= 0;
2457
_cxIcon
= sz.Width;
7 references to _cxIcon
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\ComponentTray.cs (7)
1996
rc.Width = Math.Max(
_cxIcon
, sz.Width) + 4 * _borderWidth + 2 * WhiteSpace;
2001
rc.Width =
_cxIcon
+ sz.Width + 4 * _borderWidth + 2 * WhiteSpace;
2288
int x = rc.X + (rc.Width -
_cxIcon
) / 2;
2290
e.Graphics.DrawImage(_toolboxBitmap, new Rectangle(x, y,
_cxIcon
, _cyIcon));
2302
e.Graphics.DrawImage(_toolboxBitmap, new Rectangle(rc.X, y,
_cxIcon
, _cyIcon));
2305
rc.X += (
_cxIcon
+ _borderWidth);
2306
rc.Width -=
_cxIcon
;