C# Class SIL.FieldWorks.TE.TeResourceHelper

Summary description for TeResourceHelper.
Inheritance: SIL.FieldWorks.Resources.ResourceHelper
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Свойство Type Description
BiblicalTermsResourceName string
NonEditableColor Color
ReadOnlyTextBackgroundColor Color

Private Properties

Свойство Type Description
InitializeComponent void

Méthodes publiques

Méthode Description
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.

GetTmResourceString ( string stid ) : string

Return a string from a resource ID for a toolbar/menu item.

MakeUndoRedoLabels ( string stid, string &stUndo, string &stRedo ) : void

Function to create appropriate labels for Undo tasks, with the action names coming from the stid.

TeResourceHelper ( ) : System

Initializes a new instance of the TeResourceHelper class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

DisposeStaticMembers ( ) : void

Dispose static member variables

Private Methods

Méthode Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged /// resources; false to release only unmanaged resources. ///
Résultat void

DisposeStaticMembers() protected méthode

Dispose static member variables
protected DisposeStaticMembers ( ) : void
Résultat void

FormatResourceString() public static méthode

Return a string from a resource ID, with formatting placeholders replaced by the supplied parameters.
public static FormatResourceString ( string stid ) : string
stid string String resource id
Résultat string

GetHelpString() public static méthode

Return a help topic or help file path.
public static GetHelpString ( string stid ) : string
stid string String resource id
Résultat string

GetResourceString() public static méthode

Return a string from a resource ID.
public static GetResourceString ( string stid ) : string
stid string String resource id
Résultat string

GetTmResourceString() public static méthode

Return a string from a resource ID for a toolbar/menu item.
public static GetTmResourceString ( string stid ) : string
stid string String resource id
Résultat string

MakeUndoRedoLabels() public static méthode

Function to create appropriate labels for Undo tasks, with the action names coming from the stid.
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

TeResourceHelper() public méthode

Initializes a new instance of the TeResourceHelper class.
public TeResourceHelper ( ) : System
Résultat System

Property Details

BiblicalTermsResourceName public_oe static_oe property

public static string BiblicalTermsResourceName
Résultat string

NonEditableColor public_oe static_oe property

The background color for non-editable text
public static Color NonEditableColor
Résultat Color

ReadOnlyTextBackgroundColor public_oe static_oe property

This is a color indended to be used as a background for views that contain a mixture of read-only and editable text, with the editable text indicated by being SystemColors.Window. The initial example is TE's draft back translation in interlinear mode. The actual color used was copied from a similar view in OurWord.
public static Color ReadOnlyTextBackgroundColor
Résultat Color