2 writes to _cyIcon
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ComponentTray.cs (2)
2434_cyIcon = SystemInformation.IconSize.Height; 2440_cyIcon = sz.Height;
7 references to _cyIcon
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\ComponentTray.cs (7)
1979rc.Height = _cyIcon + 2 * WhiteSpace + sz.Height + 4 * _borderWidth; 1984rc.Height = Math.Max(_cyIcon, sz.Height) + 4 * _borderWidth; 2272e.Graphics.DrawImage(_toolboxBitmap, new Rectangle(x, y, _cxIcon, _cyIcon)); 2275rc.Y += (_cyIcon + WhiteSpace); 2276rc.Height -= _cyIcon; 2283int y = rc.Y + (rc.Height - _cyIcon) / 2; 2284e.Graphics.DrawImage(_toolboxBitmap, new Rectangle(rc.X, y, _cxIcon, _cyIcon));