C# 클래스 MtEnhancedTradosPlugin.MtProviderConfDialog

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: patrickporter/MT-Enhanced-Trados-Plugin 1 사용 예제들

공개 메소드들

메소드 설명
DisableForCredentialsOnly ( ) : void

Allows disabling all controls except for the ones to put in the credentials. This is useful when Trados Studio receives a credential exception (i.e. when we throw it from the Factory class if there are no credentials configured), because any changes in the form to other settings cannot be saved in this case, so the user could be confused. This converts the settings form into a form that just takes the credentials.

MtProviderConfDialog ( MtTranslationOptions options, ITranslationProviderCredentialStore credentialStore ) : System
MtProviderConfDialog ( MtTranslationOptions options, string caption, ITranslationProviderCredentialStore credentialStore ) : System

비공개 메소드들

메소드 설명
BrowseEditFile ( ) : string
LoadResources ( ) : void

Loads strings to the form from our resources file....defaults have been set in the designer so this can be called in a try block

ShowCredBox ( ) : void
UpdateDialog ( ) : void
ValidateForm ( ) : bool
btnBrowsePostEditFile_Click ( object sender, EventArgs e ) : void
btnBrowsePreEdit_Click ( object sender, EventArgs e ) : void
btnDeleteSavedGoogleKey_Click ( object sender, EventArgs e ) : void
btnDeleteSavedMicrosoftCreds_Click ( object sender, EventArgs e ) : void
btn_Cancel_Click ( object sender, EventArgs e ) : void
btn_OK_Click ( object sender, EventArgs e ) : void
chkCatId_CheckedChanged ( object sender, EventArgs e ) : void
chkUsePostEdit_CheckedChanged ( object sender, EventArgs e ) : void
chkUsePreEdit_CheckedChanged ( object sender, EventArgs e ) : void
comboProvider_SelectedIndexChanged ( object sender, EventArgs e ) : void
editControlsSetEnabled ( Control enableSet, CheckBox boxToConsult ) : void

Enables or disables a set of controls based on whether the given checkbox is checked or unchecked.

메소드 상세

DisableForCredentialsOnly() 공개 메소드

Allows disabling all controls except for the ones to put in the credentials. This is useful when Trados Studio receives a credential exception (i.e. when we throw it from the Factory class if there are no credentials configured), because any changes in the form to other settings cannot be saved in this case, so the user could be confused. This converts the settings form into a form that just takes the credentials.
public DisableForCredentialsOnly ( ) : void
리턴 void

MtProviderConfDialog() 공개 메소드

public MtProviderConfDialog ( MtTranslationOptions options, ITranslationProviderCredentialStore credentialStore ) : System
options MtTranslationOptions
credentialStore ITranslationProviderCredentialStore
리턴 System

MtProviderConfDialog() 공개 메소드

public MtProviderConfDialog ( MtTranslationOptions options, string caption, ITranslationProviderCredentialStore credentialStore ) : System
options MtTranslationOptions
caption string
credentialStore ITranslationProviderCredentialStore
리턴 System