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)
1996rc.Width = Math.Max(_cxIcon, sz.Width) + 4 * _borderWidth + 2 * WhiteSpace; 2001rc.Width = _cxIcon + sz.Width + 4 * _borderWidth + 2 * WhiteSpace; 2288int x = rc.X + (rc.Width - _cxIcon) / 2; 2290e.Graphics.DrawImage(_toolboxBitmap, new Rectangle(x, y, _cxIcon, _cyIcon)); 2302e.Graphics.DrawImage(_toolboxBitmap, new Rectangle(rc.X, y, _cxIcon, _cyIcon)); 2305rc.X += (_cxIcon + _borderWidth); 2306rc.Width -= _cxIcon;