Свойство | Type | Description | |
---|---|---|---|
ResourceHelper | System |
Méthode | Description | |
---|---|---|
BuildFileFilter ( ) : string |
Builds a filter specification for multiple file types for a SaveFileDialog or OpenFileDialog.
|
|
BuildFileFilter ( IEnumerable |
Builds a filter specification for multiple file types for a SaveFileDialog or OpenFileDialog.
|
|
FileFilter ( FileFilterType type ) : string |
Builds a filter specification for a single file type for SaveFileDialog or OpenFileDialog.
|
|
FormatResourceString ( string stid ) : string |
Return a string from a resource ID, with formatting placeholders replaced by the supplied parameters.
|
|
GetHelpString ( string stid ) : string |
Return a help topic or help file path.
|
|
GetResourceString ( string stid ) : string |
Return a string from a resource ID.
|
|
MakeUndoRedoLabels ( string stid, string &stUndo, string &stRedo ) : void |
Function to create appropriate labels for Undo tasks, with the action names coming from the stid.
|
|
ReplaceTransparentColor ( Image img, Color replaceColor ) : |
Replace all of the transparent pixels in the image with the given color
|
|
ShutdownHelper ( ) : void |
Shut down the one instance of ResourceHelper. This should be called once when the application shuts down. |
Méthode | Description | |
---|---|---|
ResourceHelper ( ) : System |
Constructor for ResourceHelper
|
public static BuildFileFilter ( IEnumerable |
||
types | IEnumerable |
The types of files to include in the filter, in the order they /// should be included. Do not use any of the enumeration values starting with "All" /// for a filter intended to be used in a SaveFileDialog. |
Résultat | string |
public static FileFilter ( FileFilterType type ) : string | ||
type | FileFilterType | The type of files to include in the filter. Do not use any of the /// enumeration values starting with "All" for a filter intended to be used in a /// SaveFileDialog. |
Résultat | string |
static public FormatResourceString ( string stid ) : string | ||
stid | string | String resource id |
Résultat | string |
static public GetHelpString ( string stid ) : string | ||
stid | string | String resource id |
Résultat | string |
static public GetResourceString ( string stid ) : string | ||
stid | string | String resource id |
Résultat | string |
public static MakeUndoRedoLabels ( string stid, string &stUndo, string &stRedo ) : void | ||
stid | string | String resource id |
stUndo | string | Returns string for Undo task |
stRedo | string | Returns string for Redo task |
Résultat | void |
public static ReplaceTransparentColor ( Image img, Color replaceColor ) : |
||
img | Image | |
replaceColor | Color | |
Résultat |