C# 클래스 SIL.FieldWorks.FwCoreDlgs.CnvtrPropertiesCtrl

Summary description for CnvtrPropertiesCtrl.
Public so we can test it
상속: System.Windows.Forms.UserControl, IFWDisposable
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
btnMapFile System.Windows.Forms.Button
cboConversion SIL.FieldWorks.Common.Controls.FwOverrideComboBox
cboConverter SIL.FieldWorks.Common.Controls.FwOverrideComboBox
cboSpec SIL.FieldWorks.Common.Controls.FwOverrideComboBox
m_specs string
m_supportedConverter bool
txtMapFile System.Windows.Forms.TextBox
txtName System.Windows.Forms.TextBox

Private Properties

프로퍼티 타입 설명
AddToCollection void
AutoConfigureEx bool
CompareEncInfo int
GetConverterStringForType string
InitializeComponent void
SetConverterType void
SetReadyToGiveCodePage void
SetReadyToGiveMapFile void
SetReadyToGiveRegEx void
SetReadyToGiveSpec void
SetStates void
btnMapFile_Click void
btnModify_Click void
btnMore_Click void
cboConversion_SelectedIndexChanged void
cboConverter_SelectedIndexChanged void
cboSpec_SelectedIndexChanged void
txtName_TextChanged void

공개 메소드들

메소드 설명
CheckDisposed ( ) : void

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.

CnvtrPropertiesCtrl ( ) : System

Initializes a new instance of the T:CnvtrPropertiesCtrl class.

CnvtrPropertiesCtrl_Load ( object sender, System e ) : void

Occurs on loading the Properties Tab

EnableEntirePane ( bool toState ) : void

Enable/Disable everything in the pane

RaiseConverterFileChanged ( ) : void

The coverter has changed. Notify anyone who cares.

RaiseConverterSaved ( ) : void

We saved a new or modified mapping, notify anyone who cares.

RaiseListChanged ( ) : void

Something that happened in our control changed the list of mappings. Notify anyone who cares.

SelectMapping ( string mapname ) : void

In the standard usage, this is called from the selection changed event handler of the combo box that shows the installed mappings.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnConverterFileChanged ( EventArgs ea ) : void

A converter has been modified. The default handler just notifies delegates.

OnConverterListChanged ( EventArgs ea ) : void

Raises the converter list changed event.

OnConverterSaved ( EventArgs ea ) : void

A new converter has been added or a modified one saved. The default handler just notifies delegates.

txtMapFile_TextChanged ( object sender, System e ) : void

Triggered when the text has been changed

비공개 메소드들

메소드 설명
AddToCollection ( IEncConverter rConverter, string converterName ) : void

Adds the converter to the collection.

AutoConfigureEx ( IEncConverter rIEncConverter, ConvType eConversionTypeFilter, string &strFriendlyName, string strLhsEncodingID, string strRhsEncodingID ) : bool

Automatically configures.

CompareEncInfo ( System x, System y ) : int
GetConverterStringForType ( ConverterType type ) : string

Gets the string mapped to the type for the converter.

InitializeComponent ( ) : void

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

SetConverterType ( ConvType setConvType ) : void

Sets the type of the converter in the combobox for the currently selected encoding converter.

SetReadyToGiveCodePage ( ) : void
SetReadyToGiveMapFile ( ) : void
SetReadyToGiveRegEx ( ) : void
SetReadyToGiveSpec ( ) : void
SetStates ( bool existingConvs, bool installedConverter ) : void

Sets the states.

btnMapFile_Click ( object sender, System e ) : void

Handles the Click event of the btnMapFile control.

btnModify_Click ( object sender, EventArgs e ) : void
btnMore_Click ( object sender, EventArgs e ) : void
cboConversion_SelectedIndexChanged ( object sender, System e ) : void

Handles the SelectedIndexChanged event of the cboConversion control.

cboConverter_SelectedIndexChanged ( object sender, System e ) : void
cboSpec_SelectedIndexChanged ( object sender, System e ) : void

Handles the SelectedIndexChanged event of the cboSpec control.

txtName_TextChanged ( object sender, System e ) : void

Handles the TextChanged event of the txtName control.

메소드 상세

CheckDisposed() 공개 메소드

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
public CheckDisposed ( ) : void
리턴 void

CnvtrPropertiesCtrl() 공개 메소드

Initializes a new instance of the T:CnvtrPropertiesCtrl class.
public CnvtrPropertiesCtrl ( ) : System
리턴 System

CnvtrPropertiesCtrl_Load() 공개 메소드

Occurs on loading the Properties Tab
public CnvtrPropertiesCtrl_Load ( object sender, System e ) : void
sender object The source of the event.
e System The instance containing the event /// data.
리턴 void

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

EnableEntirePane() 공개 메소드

Enable/Disable everything in the pane
public EnableEntirePane ( bool toState ) : void
toState bool True if enabling, False if disabling.
리턴 void

OnConverterFileChanged() 보호된 메소드

A converter has been modified. The default handler just notifies delegates.
protected OnConverterFileChanged ( EventArgs ea ) : void
ea System.EventArgs
리턴 void

OnConverterListChanged() 보호된 메소드

Raises the converter list changed event.
protected OnConverterListChanged ( EventArgs ea ) : void
ea System.EventArgs The instance containing the event /// data.
리턴 void

OnConverterSaved() 보호된 메소드

A new converter has been added or a modified one saved. The default handler just notifies delegates.
protected OnConverterSaved ( EventArgs ea ) : void
ea System.EventArgs
리턴 void

RaiseConverterFileChanged() 공개 메소드

The coverter has changed. Notify anyone who cares.
public RaiseConverterFileChanged ( ) : void
리턴 void

RaiseConverterSaved() 공개 메소드

We saved a new or modified mapping, notify anyone who cares.
public RaiseConverterSaved ( ) : void
리턴 void

RaiseListChanged() 공개 메소드

Something that happened in our control changed the list of mappings. Notify anyone who cares.
public RaiseListChanged ( ) : void
리턴 void

SelectMapping() 공개 메소드

In the standard usage, this is called from the selection changed event handler of the combo box that shows the installed mappings.
public SelectMapping ( string mapname ) : void
mapname string
리턴 void

txtMapFile_TextChanged() 보호된 메소드

Triggered when the text has been changed
protected txtMapFile_TextChanged ( object sender, System e ) : void
sender object
e System
리턴 void

프로퍼티 상세

btnMapFile 공개적으로 프로퍼티

public Button,System.Windows.Forms btnMapFile
리턴 System.Windows.Forms.Button

cboConversion 공개적으로 프로퍼티

public FwOverrideComboBox,SIL.FieldWorks.Common.Controls cboConversion
리턴 SIL.FieldWorks.Common.Controls.FwOverrideComboBox

cboConverter 공개적으로 프로퍼티

public FwOverrideComboBox,SIL.FieldWorks.Common.Controls cboConverter
리턴 SIL.FieldWorks.Common.Controls.FwOverrideComboBox

cboSpec 공개적으로 프로퍼티

public FwOverrideComboBox,SIL.FieldWorks.Common.Controls cboSpec
리턴 SIL.FieldWorks.Common.Controls.FwOverrideComboBox

m_specs 공개적으로 프로퍼티

The actual specs string that will be used to initialize a new converter.
public string m_specs
리턴 string

m_supportedConverter 공개적으로 프로퍼티

Is the loaded converter supported? True if no conv is loaded. Basically, we're just trying to find out if we should prevent the user from changing a converter that we are unable to modify.
public bool m_supportedConverter
리턴 bool

txtMapFile 공개적으로 프로퍼티

public TextBox,System.Windows.Forms txtMapFile
리턴 System.Windows.Forms.TextBox

txtName 공개적으로 프로퍼티

name of the converter
public TextBox,System.Windows.Forms txtName
리턴 System.Windows.Forms.TextBox