10 references to ToInt32
mscorlib (3)
system\decimal.cs (3)
843temp = ToInt32(value); 859temp = ToInt32(value); 1093return ToInt32(value);
System.Core (1)
Microsoft\Scripting\Compiler\ILGen.cs (1)
956int intValue = Decimal.ToInt32(value);
System.Windows.Forms (6)
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (6)
501preferredSize = new Size(0, Math.Min(img.Height, Decimal.ToInt32((decimal)img.Height * imgWidthAllowed / img.Width))); 513preferredSize = new Size(0, Math.Min(ico.Height, Decimal.ToInt32((decimal)ico.Height * icoWidthAllowed / ico.Width))); 536preferredSize = new Size(Math.Min(img.Width, Decimal.ToInt32((decimal)img.Width * imgHeightAllowed / img.Height)), 0); 548preferredSize = new Size(Math.Min(ico.Width, Decimal.ToInt32((decimal)ico.Width * icoHeightAllowed / ico.Height)), 0); 650imgBounds = new Rectangle(bounds.X, bounds.Y, Decimal.ToInt32((decimal)imgWidth * bounds.Height / imgHeight), bounds.Height); 655imgBounds = new Rectangle(bounds.X, bounds.Y, bounds.Width, Decimal.ToInt32((decimal)imgHeight * bounds.Width / imgWidth));