27 references to ToBitmap
System.Drawing (6)
commonui\System\Drawing\Graphics.cs (3)
2685this.DrawImage(icon.ToBitmap(), x, y); 2711this.DrawImage(icon.ToBitmap(), targetRect); 2733this.DrawImageUnscaled(icon.ToBitmap(), targetRect);
commonui\System\Drawing\IconConverter.cs (1)
102return icon.ToBitmap();
commonui\System\Drawing\ImageConverter.cs (1)
78return icon.ToBitmap();
commonui\System\Drawing\ToolboxBitmapAttribute.cs (1)
289Bitmap b = sizedico.ToBitmap();
System.Web.Mobile (5)
UI\MobileControls\Design\Util\GenericUI.cs (5)
30new Icon(typeof(MobileControlDesigner), "SortDown.ico").ToBitmap(); 33new Icon(typeof(MobileControlDesigner), "SortUp.ico").ToBitmap(); 36new Icon(typeof(MobileControlDesigner), "Delete.ico").ToBitmap(); 39new Icon(typeof(MobileContainerDesigner), "Error.ico").ToBitmap(); 42new Icon(typeof(MobileContainerDesigner), "Info.ico").ToBitmap();
System.Windows.Forms (16)
winforms\Managed\System\Resources\ResXFileRef.cs (1)
323created = ico.ToBitmap();
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
197Bitmap b = icon.ToBitmap();
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (1)
248selectorImageList.Images.Add(page.Icon.ToBitmap());
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
1698Bitmap bitmap = icon.ToBitmap();
winforms\Managed\System\WinForms\ImageList.cs (1)
442bitmap = ((Icon)original.image).ToBitmap();
winforms\Managed\System\WinForms\MDIControlStrip.cs (1)
137systemIcon = smallIcon.ToBitmap();
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (1)
97pictureBox.Image = SystemIcons.Warning.ToBitmap();
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
327Bitmap b = icon.ToBitmap();
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (2)
285pictureBox.Image = SystemIcons.Information.ToBitmap(); 288pictureBox.Image = SystemIcons.Error.ToBitmap();
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
334b = desiredIcon.ToBitmap();
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (1)
412return icon.ToBitmap();
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (4)
408bitmap = globeIcon.ToBitmap(); 653bitmap = icon.ToBitmap(); 665bitmap = icon.ToBitmap(); 678bitmap = icon.ToBitmap();