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