2 writes to _cyIcon
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ComponentTray.cs (2)
2446_cyIcon = SystemInformation.IconSize.Height; 2452_cyIcon = sz.Height;
7 references to _cyIcon
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\ComponentTray.cs (7)
1991rc.Height = _cyIcon + 2 * WhiteSpace + sz.Height + 4 * _borderWidth; 1996rc.Height = Math.Max(_cyIcon, sz.Height) + 4 * _borderWidth; 2284e.Graphics.DrawImage(_toolboxBitmap, new Rectangle(x, y, _cxIcon, _cyIcon)); 2287rc.Y += (_cyIcon + WhiteSpace); 2288rc.Height -= _cyIcon; 2295int y = rc.Y + (rc.Height - _cyIcon) / 2; 2296e.Graphics.DrawImage(_toolboxBitmap, new Rectangle(rc.X, y, _cxIcon, _cyIcon));