2 writes to _cyIcon
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ComponentTray.cs (2)
2452_cyIcon = SystemInformation.IconSize.Height; 2458_cyIcon = sz.Height;
7 references to _cyIcon
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\ComponentTray.cs (7)
1997rc.Height = _cyIcon + 2 * WhiteSpace + sz.Height + 4 * _borderWidth; 2002rc.Height = Math.Max(_cyIcon, sz.Height) + 4 * _borderWidth; 2290e.Graphics.DrawImage(_toolboxBitmap, new Rectangle(x, y, _cxIcon, _cyIcon)); 2293rc.Y += (_cyIcon + WhiteSpace); 2294rc.Height -= _cyIcon; 2301int y = rc.Y + (rc.Height - _cyIcon) / 2; 2302e.Graphics.DrawImage(_toolboxBitmap, new Rectangle(rc.X, y, _cxIcon, _cyIcon));