C# Class SidebarLibrary.General.ResourceUtil

Datei anzeigen Open project: sillsdev/FieldWorks

Public Methods

Method Description
LoadBitmapResource ( Type assemblyType, string resourceHolder, string imageName ) : Bitmap
LoadBitmapStream ( Type assemblyType, string imageName ) : Bitmap
LoadBitmapStream ( Type assemblyType, string imageName, Point transparentPixel ) : Bitmap
LoadIconResource ( Type assemblyType, string resourceHolder, string imageName ) : Icon
LoadIconStream ( Type assemblyType, string iconName ) : Icon
LoadIconStream ( Type assemblyType, string iconName, Size iconSize ) : Icon
LoadImageListResource ( Type assemblyType, string resourceHolder, string imageName, Size imageSize ) : ImageList
LoadImageListResource ( Type assemblyType, string resourceHolder, string imageName, Size imageSize, bool makeTransparent, Point transparentPixel ) : ImageList
LoadImageListStream ( Type assemblyType, string imageName, Size imageSize ) : ImageList
LoadImageListStream ( Type assemblyType, string imageName, Size imageSize, Point transparentPixel ) : ImageList
LoadImageListStream ( Type assemblyType, string imageName, Size imageSize, bool makeTransparent, Point transparentPixel ) : ImageList

Protected Methods

Method Description
LoadBitmapStream ( Type assemblyType, string imageName, bool makeTransparent, Point transparentPixel ) : Bitmap

Method Details

LoadBitmapResource() public static method

public static LoadBitmapResource ( Type assemblyType, string resourceHolder, string imageName ) : Bitmap
assemblyType System.Type
resourceHolder string
imageName string
return System.Drawing.Bitmap

LoadBitmapStream() public static method

public static LoadBitmapStream ( Type assemblyType, string imageName ) : Bitmap
assemblyType System.Type
imageName string
return System.Drawing.Bitmap

LoadBitmapStream() public static method

public static LoadBitmapStream ( Type assemblyType, string imageName, Point transparentPixel ) : Bitmap
assemblyType System.Type
imageName string
transparentPixel Point
return System.Drawing.Bitmap

LoadBitmapStream() protected static method

protected static LoadBitmapStream ( Type assemblyType, string imageName, bool makeTransparent, Point transparentPixel ) : Bitmap
assemblyType System.Type
imageName string
makeTransparent bool
transparentPixel Point
return System.Drawing.Bitmap

LoadIconResource() public static method

public static LoadIconResource ( Type assemblyType, string resourceHolder, string imageName ) : Icon
assemblyType System.Type
resourceHolder string
imageName string
return System.Drawing.Icon

LoadIconStream() public static method

public static LoadIconStream ( Type assemblyType, string iconName ) : Icon
assemblyType System.Type
iconName string
return System.Drawing.Icon

LoadIconStream() public static method

public static LoadIconStream ( Type assemblyType, string iconName, Size iconSize ) : Icon
assemblyType System.Type
iconName string
iconSize System.Drawing.Size
return System.Drawing.Icon

LoadImageListResource() public static method

public static LoadImageListResource ( Type assemblyType, string resourceHolder, string imageName, Size imageSize ) : ImageList
assemblyType System.Type
resourceHolder string
imageName string
imageSize System.Drawing.Size
return System.Windows.Forms.ImageList

LoadImageListResource() public static method

public static LoadImageListResource ( Type assemblyType, string resourceHolder, string imageName, Size imageSize, bool makeTransparent, Point transparentPixel ) : ImageList
assemblyType System.Type
resourceHolder string
imageName string
imageSize System.Drawing.Size
makeTransparent bool
transparentPixel Point
return System.Windows.Forms.ImageList

LoadImageListStream() public static method

public static LoadImageListStream ( Type assemblyType, string imageName, Size imageSize ) : ImageList
assemblyType System.Type
imageName string
imageSize System.Drawing.Size
return System.Windows.Forms.ImageList

LoadImageListStream() public static method

public static LoadImageListStream ( Type assemblyType, string imageName, Size imageSize, Point transparentPixel ) : ImageList
assemblyType System.Type
imageName string
imageSize System.Drawing.Size
transparentPixel Point
return System.Windows.Forms.ImageList

LoadImageListStream() public static method

public static LoadImageListStream ( Type assemblyType, string imageName, Size imageSize, bool makeTransparent, Point transparentPixel ) : ImageList
assemblyType System.Type
imageName string
imageSize System.Drawing.Size
makeTransparent bool
transparentPixel Point
return System.Windows.Forms.ImageList