Method | Description | |
---|---|---|
GetBitmap ( string name ) : Bitmap |
Returns a bitmap from the resource database, it handles localization transparent for the user.
|
|
GetIcon ( string name ) : Icon |
Returns a icon from the resource database, it handles localization transparent for the user. In the resource database can be a bitmap instead of an icon in the dabase. It is converted automatically.
|
|
GetString ( string name ) : string |
Returns a string from the resource database, it handles localization transparent for the user.
|
|
GetStringFormatted ( string name ) : string |
Returns a format string from the resource database, the string in the localized resource database must be a format string.
|
|
InitializeService ( string resourceDirectory ) : void | ||
LoadDefaultMonospacedFont ( FontStyle style ) : Font |
Loads the default monospaced font (Consolas or Courier New).
|
|
LoadFont ( Font baseFont, FontStyle newStyle ) : Font |
The LoadFont routines provide a safe way to load fonts.
|
|
LoadFont ( string fontName, int size ) : Font |
The LoadFont routines provide a safe way to load fonts.
|
|
LoadFont ( string fontName, int size, FontStyle style ) : Font |
The LoadFont routines provide a safe way to load fonts.
|
|
LoadFont ( string fontName, int size, FontStyle style, GraphicsUnit unit ) : Font |
The LoadFont routines provide a safe way to load fonts.
|
|
LoadFont ( string fontName, int size, GraphicsUnit unit ) : Font |
The LoadFont routines provide a safe way to load fonts.
|
|
RegisterImages ( string baseResourceName, |
Registers image resources in the resource service.
|
|
RegisterNeutralImages ( |
||
RegisterNeutralStrings ( |
||
RegisterStrings ( string baseResourceName, |
Registers string resources in the resource service.
|
Method | Description | |
---|---|---|
GetImageResource ( string name ) : object | ||
Load ( string fileName ) : |
||
Load ( string name, string language ) : |
||
LoadLanguageResources ( string language ) : void | ||
OnPropertyChange ( object sender, PropertyChangedEventArgs e ) : void |
public static GetBitmap ( string name ) : Bitmap | ||
name | string | /// The name of the requested bitmap. /// |
return | Bitmap |
public static GetIcon ( string name ) : Icon | ||
name | string | /// The name of the requested icon. /// |
return | Icon |
public static GetString ( string name ) : string | ||
name | string | /// The name of the requested resource. /// |
return | string |
public static GetStringFormatted ( string name ) : string | ||
name | string | /// The name of the requested resource. /// |
return | string |
public static InitializeService ( string resourceDirectory ) : void | ||
resourceDirectory | string | |
return | void |
public static LoadDefaultMonospacedFont ( FontStyle style ) : Font | ||
style | FontStyle | |
return | Font |
public static LoadFont ( Font baseFont, FontStyle newStyle ) : Font | ||
baseFont | Font | The existing font from which to create the new font. |
newStyle | FontStyle | The new style of the font. |
return | Font |
public static LoadFont ( string fontName, int size ) : Font | ||
fontName | string | The name of the font to load. |
size | int | The size of the font to load. |
return | Font |
public static LoadFont ( string fontName, int size, FontStyle style ) : Font | ||
fontName | string | The name of the font to load. |
size | int | The size of the font to load. |
style | FontStyle | The |
return | Font |
public static LoadFont ( string fontName, int size, FontStyle style, GraphicsUnit unit ) : Font | ||
fontName | string | The name of the font to load. |
size | int | The size of the font to load. |
style | FontStyle | The |
unit | GraphicsUnit | The |
return | Font |
public static LoadFont ( string fontName, int size, GraphicsUnit unit ) : Font | ||
fontName | string | The name of the font to load. |
size | int | The size of the font to load. |
unit | GraphicsUnit | The |
return | Font |
public static RegisterImages ( string baseResourceName, |
||
baseResourceName | string | The base name of the resource file embedded in the assembly. |
assembly | The assembly which contains the resource file. | |
return | void |
public static RegisterNeutralImages ( |
||
imageManager | ||
return | void |
public static RegisterNeutralStrings ( |
||
stringManager | ||
return | void |
public static RegisterStrings ( string baseResourceName, |
||
baseResourceName | string | The base name of the resource file embedded in the assembly. |
assembly | The assembly which contains the resource file. | |
return | void |