Commit 241c92ef lailai.xing

去掉过滤重复调用的问题

1 个父辈 cf166248
...@@ -303,22 +303,13 @@ namespace OnlineStore ...@@ -303,22 +303,13 @@ namespace OnlineStore
{ {
string txt = ""; string txt = "";
bool haslang = false; bool haslang = false;
if (con.Tag != null && con.Tag.ToString() == "not") if (con.Tag != null && con.Tag.ToString() == "not")
{ {
continue; continue;
} }
string strA = "";
if (con.Text.Contains("IO调试"))
{
strA=con.Text;
}
if (con.Text.Contains("IO Debugging"))
{
strA = con.Text;
}
if (Con_GetTxt(con, out txt)) if (Con_GetTxt(con, out txt))
{ {
...@@ -343,12 +334,11 @@ namespace OnlineStore ...@@ -343,12 +334,11 @@ namespace OnlineStore
if (con.Controls.Count > 0 && !haslang) if (con.Controls.Count > 0 && !haslang)
{ {
//kmon //kmon
if (!(con.Name.Contains("tab_io") || con.Text.Contains("tab_axis") || con.Text.Contains("tab_store") || con.Text.Contains("tab_setting")))
{
PreControlLanaguage(con, className + "_" + con.Name); PreControlLanaguage(con, className + "_" + con.Name);
}
} }
//Console.WriteLine(con is IList<Component>); //Console.WriteLine(con is IList<Component>);
//Console.WriteLine(con is IList<Component>); //Console.WriteLine(con is IList<Component>);
......
...@@ -693,8 +693,8 @@ namespace TheMachineNView ...@@ -693,8 +693,8 @@ namespace TheMachineNView
{ {
Camera._cam.CloseAll(); Camera._cam.CloseAll();
} }
CodeLibrary.CodeResourceControl.CurrLanguage = CodeLibrary.CodeResourceControl.English; //CodeLibrary.CodeResourceControl.CurrLanguage = CodeLibrary.CodeResourceControl.English;
CodeLibrary.CodeResourceControl.GetLanguageEvent += Crc_GetLanguageEvent; //CodeLibrary.CodeResourceControl.GetLanguageEvent += Crc_GetLanguageEvent;
CodeLibrary.FrmCodeDecodeNW frm = new CodeLibrary.FrmCodeDecodeNW(); CodeLibrary.FrmCodeDecodeNW frm = new CodeLibrary.FrmCodeDecodeNW();
frm.CurrLanguage = Crc_GetLanguageEvent(); frm.CurrLanguage = Crc_GetLanguageEvent();
crc.LanguageProcess(frm); crc.LanguageProcess(frm);
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!