提交当前本机整理版本

This commit is contained in:
cyf
2026-07-02 10:11:39 +00:00
parent c10a5d64c7
commit aacefa24f8
822 changed files with 196665 additions and 14263 deletions
+34 -1
View File
@@ -1382,4 +1382,37 @@ namespace Lskj.ProductPlatform
if (!string.IsNullOrWhiteSpace(ERPInfo.Instance.LanguageName))
{
//翻译按钮固定文本
this.TranslationFixedButton(this.panelC
this.TranslationFixedButton(this.panelControl13);
this.label5.Visible = false;
}
}
catch (Exception ex)
{
string Message = ErrorMessage.PromptErrorMessage(ex);
MessageUtil.Show(Message, ex.Message);
}
}
/// <summary>
/// 翻译文本
/// </summary>
/// <param name="Control"></param>
public void TranslationFixedButton(System.Windows.Forms.Control Control)
{
if (!string.IsNullOrWhiteSpace(ERPInfo.Instance.LanguageName))
{
foreach (System.Windows.Forms.Control ctrol in Control.Controls)
{
if (ctrol is Button)
{
Button simpleButton = ctrol as Button;
simpleButton.Text = Business.Impl.LanguageTranslation.GetTranslatedText(ctrol.Text);
}
}
}
}
}
}