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