2 writes to _cxIcon
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ComponentTray.cs (2)
2433_cxIcon = 0; 2439_cxIcon = sz.Width;
7 references to _cxIcon
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\ComponentTray.cs (7)
1978rc.Width = Math.Max(_cxIcon, sz.Width) + 4 * _borderWidth + 2 * WhiteSpace; 1983rc.Width = _cxIcon + sz.Width + 4 * _borderWidth + 2 * WhiteSpace; 2270int x = rc.X + (rc.Width - _cxIcon) / 2; 2272e.Graphics.DrawImage(_toolboxBitmap, new Rectangle(x, y, _cxIcon, _cyIcon)); 2284e.Graphics.DrawImage(_toolboxBitmap, new Rectangle(rc.X, y, _cxIcon, _cyIcon)); 2287rc.X += (_cxIcon + _borderWidth); 2288rc.Width -= _cxIcon;