提交当前本机整理版本
This commit is contained in:
+20
-1
@@ -895,4 +895,23 @@
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Timer timer1;
|
||||
private System.Windows.Forms.Button button8;
|
||||
private System.Windows
|
||||
private System.Windows.Forms.Button btnZX;
|
||||
private DevExpress.XtraBars.PopupMenu pMenu;
|
||||
private DevExpress.XtraBars.BarManager barManager1;
|
||||
private DevExpress.XtraBars.BarDockControl barDockControl1;
|
||||
private DevExpress.XtraBars.BarDockControl barDockControl2;
|
||||
private DevExpress.XtraBars.BarDockControl barDockControl3;
|
||||
private DevExpress.XtraBars.BarDockControl barDockControl5;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private DevExpress.XtraEditors.PanelControl panelControl15;
|
||||
private System.Windows.Forms.SplitContainer splitContainer2;
|
||||
private Control.GridControlEx gcMain;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private DevExpress.XtraEditors.PanelControl panelControl14;
|
||||
private DevExpress.XtraEditors.PanelControl panelControl16;
|
||||
private System.Windows.Forms.Label noticeContent;
|
||||
private System.Windows.Forms.Button butMachineSwitch;
|
||||
private Control.GridControlEx gcDetail;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
DevExpress.XtraBars.BarManager, DevExpress.XtraBars.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
DevExpress.XtraEditors.ComboBoxEdit, DevExpress.XtraEditors.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||
Reference in New Issue
Block a user