C# Класс SIL.FieldWorks.TE.TeResourceHelper

Summary description for TeResourceHelper.
Наследование: SIL.FieldWorks.Resources.ResourceHelper
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
BiblicalTermsResourceName string
NonEditableColor Color
ReadOnlyTextBackgroundColor Color

Private Properties

Свойство Тип Описание
InitializeComponent void

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

DisposeStaticMembers ( ) : void

Dispose static member variables

Приватные методы

Метод Описание
InitializeComponent ( ) : void

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

Описание методов

Dispose() защищенный метод

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. ///
Результат void

DisposeStaticMembers() защищенный метод

Dispose static member variables
protected DisposeStaticMembers ( ) : void
Результат void

FormatResourceString() публичный статический метод

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
Результат string

GetHelpString() публичный статический метод

Return a help topic or help file path.
public static GetHelpString ( string stid ) : string
stid string String resource id
Результат string

GetResourceString() публичный статический метод

Return a string from a resource ID.
public static GetResourceString ( string stid ) : string
stid string String resource id
Результат string

GetTmResourceString() публичный статический метод

Return a string from a resource ID for a toolbar/menu item.
public static GetTmResourceString ( string stid ) : string
stid string String resource id
Результат string

MakeUndoRedoLabels() публичный статический метод

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
Результат void

TeResourceHelper() публичный метод

Initializes a new instance of the TeResourceHelper class.
public TeResourceHelper ( ) : System
Результат System

Описание свойств

BiblicalTermsResourceName публичное статическое свойство

public static string BiblicalTermsResourceName
Результат string

NonEditableColor публичное статическое свойство

The background color for non-editable text
public static Color NonEditableColor
Результат Color

ReadOnlyTextBackgroundColor публичное статическое свойство

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
Результат Color