コード例 #1
0
 void SetTexts(int languageID)
 {
     parentFormLabelText.Text = activeForm.GetName();
     parentFormID.Text        = activeForm.GetID().ToString();
     ControlNameLabel.Text    = activeFormControl.GetName();
     formControlID.Text       = activeFormControl.GetID().ToString();
     OriginalTextLabel.Text   = activeFormControl.GetOriginalText();
     ControlTypeLabel.Text    = activeFormControl.GetType();
     TranslationInput.Text    = TranslationAvailable(activeFormControl.GetID(), languageID) ? translationList.GetTranslation(activeFormControl.FormControl, languageList.GetLanguage(languageID)).TranslatedText : "";
     if (activeFormControl.GetOriginalText() != null && activeFormControl.GetOriginalText().Length > 0)
     {
         Clipboard.SetText(OriginalTextLabel.Text);
     }
     else
     {
         return;
     }
 }