Commit 8faa17ac 几米阳光

中英文修改

1 个父辈 53f152a2
using OnlineStore.Common; using OnlineStore.Common;
using OnlineStore.DeviceLibrary; using OnlineStore.DeviceLibrary;
using OnlineStore.LoadCSVLibrary;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
...@@ -30,6 +31,8 @@ namespace OnlineStore.AutoInOutStore ...@@ -30,6 +31,8 @@ namespace OnlineStore.AutoInOutStore
ResourceControl.GetStrEvent += GetString; ResourceControl.GetStrEvent += GetString;
ResourceControl.GetStringEvent += GetString; ResourceControl.GetStringEvent += GetString;
CodeLibrary.CodeResourceControl.GetLanguageEvent += CodeResourceControl_GetLanguageEvent; CodeLibrary.CodeResourceControl.GetLanguageEvent += CodeResourceControl_GetLanguageEvent;
CSVResourceControl.GetStrEvent += GetString;
CSVResourceControl.GetStringEvent += GetString;
//UserFromControl.UserControlResource.GetStrEvent += GetString; //UserFromControl.UserControlResource.GetStrEvent += GetString;
//UserFromControl.UserControlResource.GetStringEvent += GetString; //UserFromControl.UserControlResource.GetStringEvent += GetString;
if (string.IsNullOrEmpty(name)) if (string.IsNullOrEmpty(name))
......
...@@ -5,7 +5,7 @@ using System.Text; ...@@ -5,7 +5,7 @@ using System.Text;
namespace OnlineStore.LoadCSVLibrary namespace OnlineStore.LoadCSVLibrary
{ {
class CSVResourceControl public class CSVResourceControl
{ {
public delegate string GetStrDelegate(string id, string defaultStr); public delegate string GetStrDelegate(string id, string defaultStr);
public static event GetStrDelegate GetStrEvent; public static event GetStrDelegate GetStrEvent;
......
...@@ -248,7 +248,7 @@ namespace OnlineStore.LoadCSVLibrary ...@@ -248,7 +248,7 @@ namespace OnlineStore.LoadCSVLibrary
{ {
get get
{ {
return ElectricalDefinition + "_" + CSVResourceControl.GetString(ElectricalDefinition, Explain) + "(" + ProName + ")"; return ElectricalDefinition + "_" + CSVResourceControl.GetString(ElectricalDefinition, Explain)+ "(" + ProName + ")";
} }
set set
{ {
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!