/// <summary>
 /// <see cref="ToolsDialog.DoLocalization"/>
 /// </summary>
 /// <param name="localization">localized values</param>
 protected internal override void DoLocalization(DialogLocalization localization)
 {
     Text = localization["Title", Text];
     labelAssemblyInfo.Text = localization["labelAssemblyInfo", labelAssemblyInfo.Text];
     buttonClipboardCopy.Text = localization["buttonClipboardCopy", buttonClipboardCopy.Text];
     buttonClose.Text = localization["buttonClose", buttonClose.Text];
     colType.HeaderText = localization["Type", colType.HeaderText];
     colValue.HeaderText = localization["Value", colValue.HeaderText];
 }
Exemple #2
0
 /// <summary>
 /// <see cref="ToolsDialog.DoLocalization"/>
 /// </summary>
 /// <param name="localization">localized values</param>
 protected internal override void DoLocalization(DialogLocalization localization)
 {
     Text = String.Format("{0} {1}", localization["Title", Text], _headerCaption);
     labelLicenceHeader.Text = localization["LicenceHeader", labelLicenceHeader.Text];
     buttonClose.Text = localization["buttonClose", buttonClose.Text];
 }
Exemple #3
0
 /// <summary>
 /// Do localization in form instance
 /// </summary>
 /// <param name="localization">localized values</param>
 protected internal virtual void DoLocalization(DialogLocalization localization)
 { 
     
 }
Exemple #4
0
 /// <summary>
 /// <see cref="ToolsDialog.DoLocalization"/>
 /// </summary>
 /// <param name="localization">localized values</param>
 protected internal override void DoLocalization(DialogLocalization localization)
 {
     Text = localization["Title", Text];
     labelErrorHeader.Text = localization["ErrorHeader", labelErrorHeader.Text];
     if (labelErrorMessage.Text.Equals(_errorMessageTemplate, StringComparison.InvariantCultureIgnoreCase))
         labelErrorMessage.Text = localization["ErrorMessage", ""];
     colMessage.HeaderText = localization["Message", colMessage.HeaderText];
     colType.HeaderText = localization["Type", colType.HeaderText];
     colSource.HeaderText = localization["Source", colSource.HeaderText];
     buttonShowDetails.Text = localization["buttonShowDetails", buttonShowDetails.Text];
     buttonClose.Text = localization["buttonClose", buttonClose.Text];
     buttonClipboardCopy.Text = localization["buttonClipboardCopy", buttonClipboardCopy.Text];
 }