Commit ec9c8e5d 贾鹏旭

1

2 个父辈 75acad06 207d57f3
正在显示 82 个修改的文件 包含 844 行增加768 行删除
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp
###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary
###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary
###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
.vscode/* ## Ignore Visual Studio temporary files, build results, and
!.vscode/settings.json ## files generated by popular Visual Studio add-ons.
!.vscode/tasks.json ##
!.vscode/launch.json ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
!.vscode/extensions.json
/.vs/Theme/v16 # User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Mono auto generated files
mono_crash.*
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Oo]ut/
[Ll]og/
[Ll]ogs/
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# Benchmark Results
BenchmarkDotNet.Artifacts/
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
# ASP.NET Scaffolding
ScaffoldingReadMe.txt
# StyleCop
StyleCopReport.xml
# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# Visual Studio Trace Files
*.e2e
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json
# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).rdl
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# CodeRush personal settings
.cr/personal
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Tabs Studio
*.tss
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
# OpenCover UI analysis results
OpenCover/
# Azure Stream Analytics local run output
ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
# NVidia Nsight GPU debugger configuration file
*.nvuser
# MFractors (Xamarin productivity tool) working folder
.mfractor/
# Local History for Visual Studio
.localhistory/
# BeatPulse healthcheck temp database
healthchecksdb
# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
.ionide/
# Fody - auto-generated XML schema
FodyWeavers.xsd
\ No newline at end of file \ No newline at end of file
此文件类型无法预览
此文件类型无法预览
{
"CurrentProjectSetting": null
}
\ No newline at end of file \ No newline at end of file
{
"ExpandedNodes": [
""
],
"SelectedNode": "\\FaceControl.sln",
"PreviewInSolutionExplorer": false
}
\ No newline at end of file \ No newline at end of file
此文件类型无法预览
...@@ -201,7 +201,7 @@ namespace Asa.FaceControl ...@@ -201,7 +201,7 @@ namespace Asa.FaceControl
private void CtlText_TextChanged(object sender, EventArgs e) private void CtlText_TextChanged(object sender, EventArgs e)
{ {
//TextChanged?.Invoke(this, new EventArgs()); base.Text = ctlText.Text;
} }
private void CtlText_MouseLeave(object sender, EventArgs e) private void CtlText_MouseLeave(object sender, EventArgs e)
......
...@@ -393,7 +393,7 @@ ...@@ -393,7 +393,7 @@
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup> <PropertyGroup>
<PostBuildEvent>rem copy "$(TargetPath)" "C:\Neotel\DLL\$(ProjectName)\$(TargetFileName)" <PostBuildEvent>copy "$(TargetPath)" "D:\rick\vs\NS100\SharedDll\"
rem copy "$(TargetDir)$(TargetName).pdb" "C:\Neotel\DLL\$(ProjectName)\$(TargetName).pdb"</PostBuildEvent> copy "$(TargetDir)$(TargetName).pdb" "D:\rick\vs\NS100\SharedDll\"</PostBuildEvent>
</PropertyGroup> </PropertyGroup>
</Project> </Project>
\ No newline at end of file \ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectView>ShowAllFiles</ProjectView>
</PropertyGroup>
</Project>
\ No newline at end of file \ No newline at end of file
using System;
using System.Xml;
using System.Windows.Forms;
using System.Collections.Generic;
using System.Drawing;
using System.Diagnostics;
using System.Text.RegularExpressions;
namespace Asa.FaceControl
{
/// <summary>
/// 多语言类
/// </summary>
public static class Language
{
private static XmlDocument xmlDoc;
private static string[] filePath; //XML文件的路径
private static int nameIndex = -1;
private static readonly Dictionary<string, string> dialogText = new();
private static readonly List<ClsLangForm> langForm = new();
/// <summary>
/// 语言名称
/// </summary>
public static string[] Name { private set; get; } = null;
/// <summary>
/// 加载语言路径
/// </summary>
/// <param name="path"></param>
public static void LoadPath(string path)
{
if (!System.IO.Directory.Exists(path))
System.IO.Directory.CreateDirectory(path);
filePath = System.IO.Directory.GetFiles(path, "*.xml");
xmlDoc = new XmlDocument();
Name = new string[filePath.Length];
for (int i = 0; i < filePath.Length; i++)
{
xmlDoc.Load(filePath[i]);
Name[i] = xmlDoc.LastChild.Attributes["Name"].Value;
}
}
/// <summary>
/// 加载语言
/// </summary>
/// <param name="name"></param>
public static void LoadLanguage(string name)
{
nameIndex = Array.FindIndex(Name, s => s == name);
if (nameIndex == -1) return;
LoadLanguage();
foreach (Form frm in Application.OpenForms)
{
if (frm is FormBase @base)
SetLanguage(@base);
}
}
/// <summary>
/// 对话框
/// </summary>
/// <param name="key"></param>
/// <returns></returns>
public static string Dialog(string key,string defaulttxt="")
{
if (nameIndex == -1) return "";
if (dialogText.TryGetValue(key, out string value))
return value;
else
{
SetNoLangXML("Dialog", key, defaulttxt);
return defaulttxt;
}
}
/// <summary>
/// 设置语言
/// </summary>
/// <param name="frm"></param>
public static void SetLanguage(FormBase frm)
{
if (nameIndex == -1) return;
int langIdx = langForm.FindIndex(s => s.FormLang.Name == frm.Name);
if (langIdx == -1) return;
frm.Text = langForm[langIdx].FormLang.Text;
frm.TitleFont = langForm[langIdx].FormLang.Font;
SetLang(langIdx, frm);
}
/// <summary>
/// 设置语言
/// </summary>
/// <param name="ctl"></param>
public static void SetLanguage(Control ctl)
{
if (nameIndex == -1) return;
int langIdx = langForm.FindIndex(s => s.FormLang.Name == ctl.Name);
if (langIdx == -1) return;
SetLang(langIdx, ctl);
}
///// <summary>
///// 语言索引
///// </summary>
//public static int Index
//{
// set
// {
// if (value > -1 && value < _file.Length)
// {
// _index = value;
// LoadLanguage();
// foreach (Form frm in Application.OpenForms)
// {
// if (frm is FormBase)
// SetLanguage((FormBase)frm);
// }
// }
// }
// get
// {
// return _index;
// }
//}
///// <summary>
///// 加载语言
///// </summary>
///// <param name="name"></param>
//public static void Load(string name)
//{
// int idx = Array.FindIndex(Name, s => s == name);
// Index = idx;
//}
///// <summary>
///// 设置语言
///// </summary>
///// <param name="frm"></param>
//public static void SetLanguage(Form frm)
//{
// int langIdx = langForm.FindIndex(s => s.FormLang.Name == frm.Name);
// if (langIdx == -1) return;
// //frm.Text = langForm[langIdx].FormLang.Text;
// //frm.TitleFont = langForm[langIdx].FormLang.Font;
// SetLang(langIdx, frm);
//}
private static void LoadLanguage()
{
xmlDoc.Load(filePath[nameIndex]);
XmlNode root = xmlDoc.LastChild;
langForm.Clear();
dialogText.Clear();
foreach (XmlNode node in root.ChildNodes)
{
if (node.Name == "Dialog")
{
foreach (XmlNode tt in node.ChildNodes)
{
if (!dialogText.ContainsKey(tt.Name))
dialogText.Add(tt.Name, tt.InnerText);
}
}
else
{
ClsLangForm lang = new();
lang.FormLang.Name = node.Name;
if (node.Attributes["Text"] != null) lang.FormLang.Text = node.Attributes["Text"].Value;
if (node.Attributes["Font"] != null) lang.FormLang.Font = ConvFont(node.Attributes["Font"].Value);
//if (node.Attributes["Tag"] != null) lang.FormLang.Tag = node.Attributes["Tag"].Value;
foreach (XmlNode tt in node.ChildNodes)
{
if (tt.NodeType != XmlNodeType.Element)
continue;
ClsLangText ll = new()
{
Name = tt.Name
};
if (tt.Attributes["Text"] != null) ll.Text = tt.Attributes["Text"].Value;
if (tt.Attributes["Font"] != null) ll.Font = ConvFont(tt.Attributes["Font"].Value);
//if (tt.Attributes["Tag"] != null) ll.Tag = tt.Attributes["Tag"].Value;
lang.ControlLang.Add(ll);
}
langForm.Add(lang);
}
}
}
private static void SetLang(int langIndex, Control ctl)
{
foreach (Control cc in ctl.Controls)
{
if (cc.Name == "") continue;
int idx = langForm[langIndex].ControlLang.FindIndex(s => s.Name == cc.Name);
if (idx > -1)
{
//Debugger.Break();
cc.Text = langForm[langIndex].ControlLang[idx].Text;
if (cc is FacePanel)
((FacePanel)cc).TitleFont = langForm[langIndex].ControlLang[idx].Font;
else
cc.Font = langForm[langIndex].ControlLang[idx].Font;
//cc.Tag = langForm[langIndex].ControlLang[idx].Tag;
}
else {
if (!string.IsNullOrWhiteSpace(cc.Text) && HasChinese(cc.Text))
{
if (cc.Tag == null || cc.Tag.ToString() != "not")
{
SetNoLangXML(langForm[langIndex].FormLang.Name, cc.Name, cc.Text);
}
}
}
if (cc.HasChildren)
SetLang(langIndex, cc);
}
}
static void SetNoLangXML(string formname,string controlname,string text) {
xmlDoc.Load(filePath[nameIndex]);
XmlNode root = xmlDoc.LastChild;
var n=root.SelectSingleNode(formname);
if (n.SelectSingleNode(controlname) != null)
return;
var cc = xmlDoc.CreateComment("原文:"+text);
var ln = xmlDoc.CreateElement(controlname);
if (formname == "Dialog") {
ln.InnerText = text;
}
else
{
ln.SetAttribute("Text", text);
ln.SetAttribute("Font", "微软雅黑,12,,");
}
n.AppendChild(cc);
n.AppendChild(ln);
xmlDoc.Save(filePath[nameIndex]);
}
static bool HasChinese(string txt)
{
//for (int i = 0; i < txt.Length; i++)
//{
if (Regex.IsMatch(txt.ToString(), @"[\u4E00-\u9FA5]+"))
return true;
//}
return false;
}
/// <summary>
/// 转换字体
/// </summary>
/// <param name="s">格式:字体,字号,粗体,斜体</param>
/// <returns></returns>
private static Font ConvFont(string s)
{
string[] t = s.Split(',');
float emSize = Convert.ToSingle(t[1]);
FontStyle style = FontStyle.Regular;
if (t[2] == "B") style |= FontStyle.Bold;
if (t[3] == "I") style |= FontStyle.Italic;
Font font = new(t[0], emSize, style);
return font;
}
///// <summary>
///// 转换字体
///// </summary>
///// <param name="f">字体</param>
///// <returns></returns>
//private static string ConvFont(Font f)
//{
// string[] s = new string[4];
// s[0] = f.Name;
// s[1] = f.Size.ToString();
// if (f.Bold) s[2] = "B";
// if (f.Italic) s[3] = "I";
// return string.Join(",", s);
//}
private class ClsLangForm
{
public ClsLangText FormLang;
public List<ClsLangText> ControlLang;
public ClsLangForm()
{
FormLang = new ClsLangText();
ControlLang = new List<ClsLangText>();
}
}
private class ClsLangText
{
public string Name = "";
public string Text = "";
public Font Font = null;
//public static string Tag = "";
}
}
}
\ No newline at end of file \ No newline at end of file
...@@ -5,6 +5,11 @@ using System.Collections.Generic; ...@@ -5,6 +5,11 @@ using System.Collections.Generic;
using System.Drawing; using System.Drawing;
using System.Diagnostics; using System.Diagnostics;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using System.IO;
using System.Data.SqlTypes;
using System.Resources;
using System.Runtime.Remoting.Metadata.W3cXsd2001;
using System.Xml.Linq;
namespace Asa.FaceControl namespace Asa.FaceControl
{ {
...@@ -14,15 +19,16 @@ namespace Asa.FaceControl ...@@ -14,15 +19,16 @@ namespace Asa.FaceControl
public static class Language public static class Language
{ {
private static XmlDocument xmlDoc; private static XmlDocument xmlDoc;
private static string[] filePath; //XML文件的路径 private static string filePath; //XML文件的路径
private static int nameIndex = -1; private static int nameIndex = -1;
private static readonly Dictionary<string, string> dialogText = new(); //private static readonly Dictionary<string,Dictionary<string, string>> dialogText = new();
private static readonly List<ClsLangForm> langForm = new(); private static readonly Dictionary<string, Dictionary<string, ClsLangText>> langForm = new();
/// <summary> /// <summary>
/// 语言名称 /// 语言名称
/// </summary> /// </summary>
public static string[] Name { private set; get; } = null; public static List<string> Name { private set; get; } = new();
public static string CurrentLng { private set; get; } = "zh-CN";
...@@ -32,17 +38,41 @@ namespace Asa.FaceControl ...@@ -32,17 +38,41 @@ namespace Asa.FaceControl
/// <param name="path"></param> /// <param name="path"></param>
public static void LoadPath(string path) public static void LoadPath(string path)
{ {
if (!System.IO.Directory.Exists(path)) filePath = path;
System.IO.Directory.CreateDirectory(path); var files = System.IO.Directory.GetFiles(path, "*.lngres");
filePath = System.IO.Directory.GetFiles(path, "*.xml");
xmlDoc = new XmlDocument(); foreach (var file in files)
Name = new string[filePath.Length];
for (int i = 0; i < filePath.Length; i++)
{ {
xmlDoc.Load(filePath[i]); var lngid = Path.GetFileNameWithoutExtension(file);
Name[i] = xmlDoc.LastChild.Attributes["Name"].Value; if (lngid.ToLower() == "en-US".ToLower())
{
Name.Add("English");
}
else if (lngid.ToLower() == "zh-CN".ToLower())
{
Name.Add("简体中文");
}
langForm.Add(lngid, new Dictionary<string, ClsLangText>());
var lngfs = File.ReadAllLines(file);
foreach (var lts in lngfs)
{
var lds = lts.Split('\t');
if (lds.Length < 3)
continue;
var key = lds[0];
var value = lds[2];
var fnt = lds.Length > 3 ? lds[3] : "";
ClsLangText clsLangText = new ClsLangText();
clsLangText.Font = ConvFont(fnt);
clsLangText.Name = key;
clsLangText.Text = value;
if (!langForm[lngid].ContainsKey(key))
langForm[lngid].Add(key, clsLangText);
}
} }
LoadLanguage("zh-CN");
} }
/// <summary> /// <summary>
...@@ -51,13 +81,17 @@ namespace Asa.FaceControl ...@@ -51,13 +81,17 @@ namespace Asa.FaceControl
/// <param name="name"></param> /// <param name="name"></param>
public static void LoadLanguage(string name) public static void LoadLanguage(string name)
{ {
nameIndex = Array.FindIndex(Name, s => s == name); switch (name)
if (nameIndex == -1) return;
LoadLanguage();
foreach (Form frm in Application.OpenForms)
{ {
if (frm is FormBase @base) case "简体中文":
SetLanguage(@base); CurrentLng = "zh-CN";
break;
case "English":
CurrentLng = "en-US";
break;
default:
CurrentLng = "zh-CN";
break;
} }
} }
...@@ -68,9 +102,10 @@ namespace Asa.FaceControl ...@@ -68,9 +102,10 @@ namespace Asa.FaceControl
/// <returns></returns> /// <returns></returns>
public static string Dialog(string key,string defaulttxt="") public static string Dialog(string key,string defaulttxt="")
{ {
if (nameIndex == -1) return ""; if (!langForm.ContainsKey(CurrentLng)) return "";
if (dialogText.TryGetValue(key, out string value)) var dk = "Dialog_" + key;
return value; if (langForm[CurrentLng].TryGetValue(dk, out var value))
return value.Text;
else else
{ {
SetNoLangXML("Dialog", key, defaulttxt); SetNoLangXML("Dialog", key, defaulttxt);
...@@ -84,12 +119,11 @@ namespace Asa.FaceControl ...@@ -84,12 +119,11 @@ namespace Asa.FaceControl
/// <param name="frm"></param> /// <param name="frm"></param>
public static void SetLanguage(FormBase frm) public static void SetLanguage(FormBase frm)
{ {
if (nameIndex == -1) return; if (!langForm.ContainsKey(CurrentLng) || !langForm[CurrentLng].ContainsKey(frm.Name + "_" + frm.Name))
int langIdx = langForm.FindIndex(s => s.FormLang.Name == frm.Name); return;
if (langIdx == -1) return; frm.Text = langForm[CurrentLng][frm.Name+"_"+ frm.Name].Text;
frm.Text = langForm[langIdx].FormLang.Text; frm.TitleFont = langForm[CurrentLng][frm.Name + "_" + frm.Name].Font;
frm.TitleFont = langForm[langIdx].FormLang.Font; SetLang(frm.Name, frm);
SetLang(langIdx, frm);
} }
/// <summary> /// <summary>
...@@ -98,16 +132,9 @@ namespace Asa.FaceControl ...@@ -98,16 +132,9 @@ namespace Asa.FaceControl
/// <param name="ctl"></param> /// <param name="ctl"></param>
public static void SetLanguage(Control ctl) public static void SetLanguage(Control ctl)
{ {
if (nameIndex == -1) return; SetLang(ctl.Name, ctl);
int langIdx = langForm.FindIndex(s => s.FormLang.Name == ctl.Name);
if (langIdx == -1) return;
SetLang(langIdx, ctl);
} }
///// <summary> ///// <summary>
///// 语言索引 ///// 语言索引
///// </summary> ///// </summary>
...@@ -160,69 +187,24 @@ namespace Asa.FaceControl ...@@ -160,69 +187,24 @@ namespace Asa.FaceControl
//} //}
private static void SetLang(string frmname, Control ctl)
private static void LoadLanguage()
{ {
xmlDoc.Load(filePath[nameIndex]); if (!langForm.ContainsKey(CurrentLng))
XmlNode root = xmlDoc.LastChild; return;
langForm.Clear();
dialogText.Clear();
foreach (XmlNode node in root.ChildNodes)
{
if (node.Name == "Dialog")
{
foreach (XmlNode tt in node.ChildNodes)
{
if (!dialogText.ContainsKey(tt.Name))
dialogText.Add(tt.Name, tt.InnerText);
}
}
else
{
ClsLangForm lang = new();
lang.FormLang.Name = node.Name;
if (node.Attributes["Text"] != null) lang.FormLang.Text = node.Attributes["Text"].Value;
if (node.Attributes["Font"] != null) lang.FormLang.Font = ConvFont(node.Attributes["Font"].Value);
//if (node.Attributes["Tag"] != null) lang.FormLang.Tag = node.Attributes["Tag"].Value;
foreach (XmlNode tt in node.ChildNodes)
{
if (tt.NodeType != XmlNodeType.Element)
continue;
ClsLangText ll = new()
{
Name = tt.Name
};
if (tt.Attributes["Text"] != null) ll.Text = tt.Attributes["Text"].Value;
if (tt.Attributes["Font"] != null) ll.Font = ConvFont(tt.Attributes["Font"].Value);
//if (tt.Attributes["Tag"] != null) ll.Tag = tt.Attributes["Tag"].Value;
lang.ControlLang.Add(ll);
}
langForm.Add(lang);
}
}
}
private static void SetLang(int langIndex, Control ctl)
{
foreach (Control cc in ctl.Controls) foreach (Control cc in ctl.Controls)
{ {
if (cc.Name == "") continue; if (cc.Name == "") continue;
var fn = frmname+"_"+cc.Name;
int idx = langForm[langIndex].ControlLang.FindIndex(s => s.Name == cc.Name); var idx = langForm[CurrentLng].ContainsKey(fn);
if (idx > -1) if (idx)
{ {
//Debugger.Break(); //Debugger.Break();
cc.Text = langForm[langIndex].ControlLang[idx].Text; cc.Text = langForm[CurrentLng][fn].Text;
if (cc is FacePanel) if (cc is FacePanel)
((FacePanel)cc).TitleFont = langForm[langIndex].ControlLang[idx].Font; ((FacePanel)cc).TitleFont = langForm[CurrentLng][fn].Font;
else else
cc.Font = langForm[langIndex].ControlLang[idx].Font; cc.Font = langForm[CurrentLng][fn].Font;
//cc.Tag = langForm[langIndex].ControlLang[idx].Tag; //cc.Tag = langForm[langIndex].ControlLang[idx].Tag;
} }
else { else {
...@@ -230,33 +212,27 @@ namespace Asa.FaceControl ...@@ -230,33 +212,27 @@ namespace Asa.FaceControl
{ {
if (cc.Tag == null || cc.Tag.ToString() != "not") if (cc.Tag == null || cc.Tag.ToString() != "not")
{ {
SetNoLangXML(langForm[langIndex].FormLang.Name, cc.Name, cc.Text); SetNoLangXML(frmname, cc.Name, cc.Text);
} }
} }
} }
if (cc.HasChildren) if (cc.HasChildren)
SetLang(langIndex, cc); SetLang(frmname,cc);
} }
} }
static void SetNoLangXML(string formname,string controlname,string text) { static void SetNoLangXML(string formname, string controlname, string text)
xmlDoc.Load(filePath[nameIndex]); {
XmlNode root = xmlDoc.LastChild; string att = "";
var n=root.SelectSingleNode(formname); if (formname == "Dialog")
if (n.SelectSingleNode(controlname) != null) att = $"{formname}_{controlname}\t{text}\t\t\r\n";
return;
var cc = xmlDoc.CreateComment("原文:"+text);
var ln = xmlDoc.CreateElement(controlname);
if (formname == "Dialog") {
ln.InnerText = text;
}
else else
{ {
ln.SetAttribute("Text", text); if (CurrentLng == "简体中文")
ln.SetAttribute("Font", "微软雅黑,12,,"); att = $"{formname}_{controlname}\t{text}\t\t微软雅黑,12,,\r\n";
else
att = $"{formname}_{controlname}\t{text}\t\tArial,12,,\r\n";
} }
n.AppendChild(cc); File.AppendAllText(Path.Combine(filePath, CurrentLng + ".lngres"), att);
n.AppendChild(ln);
xmlDoc.Save(filePath[nameIndex]);
} }
static bool HasChinese(string txt) static bool HasChinese(string txt)
{ {
...@@ -275,6 +251,8 @@ namespace Asa.FaceControl ...@@ -275,6 +251,8 @@ namespace Asa.FaceControl
/// <returns></returns> /// <returns></returns>
private static Font ConvFont(string s) private static Font ConvFont(string s)
{ {
if (string.IsNullOrWhiteSpace(s))
return null;
string[] t = s.Split(','); string[] t = s.Split(',');
float emSize = Convert.ToSingle(t[1]); float emSize = Convert.ToSingle(t[1]);
FontStyle style = FontStyle.Regular; FontStyle style = FontStyle.Regular;
...@@ -291,6 +269,8 @@ namespace Asa.FaceControl ...@@ -291,6 +269,8 @@ namespace Asa.FaceControl
///// <returns></returns> ///// <returns></returns>
//private static string ConvFont(Font f) //private static string ConvFont(Font f)
//{ //{
// if (f == null)
// return "";
// string[] s = new string[4]; // string[] s = new string[4];
// s[0] = f.Name; // s[0] = f.Name;
// s[1] = f.Size.ToString(); // s[1] = f.Size.ToString();
......
此文件的差异太大,无法显示。
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6.1", FrameworkDisplayName = ".NET Framework 4.6.1")]
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
C:\Neotel\Program_Beta\FaceControl\FaceControl\bin\Debug\Asa.Face.Control.dll
C:\Neotel\Program_Beta\FaceControl\FaceControl\bin\Debug\Asa.Face.Control.pdb
C:\Neotel\Program_Beta\FaceControl\FaceControl\bin\Debug\log4net.dll
C:\Neotel\Program_Beta\FaceControl\FaceControl\bin\Debug\log4net.xml
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.ControlBase.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FormBase.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceLabel.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceButton.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlClose.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlMax.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlMin.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceFormNormal.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\FaceControl.csproj.GenerateResource.cache
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\FaceControl.csproj.CoreCompileInputs.cache
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\FaceControl.csproj.CopyComplete
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.Face.Control.dll
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.Face.Control.pdb
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceMessageBox.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceTextBox.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlDel.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlQuery.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.Resource1.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceCheckBox.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceRadioBox.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceScrollBar.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlBar.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceListBox.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlScrollUp.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlScrollDown.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceComboBox.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlComboArrow.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlNumericDown.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlNumericUp.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceNumericUpDown.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FacePanel.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.PanelBase.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FacePictureBox.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceInputBox.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceFormFixed.resources
C:\Neotel\Program_Beta\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FacePasswordLock.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.Face.Control.dll
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.Face.Control.pdb
C:\Neotel\Program\FaceControl\FaceControl\bin\Debug\Asa.Face.Control.dll
C:\Neotel\Program\FaceControl\FaceControl\bin\Debug\Asa.Face.Control.pdb
C:\Neotel\Program\FaceControl\FaceControl\bin\Debug\log4net.dll
C:\Neotel\Program\FaceControl\FaceControl\bin\Debug\log4net.xml
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.ControlBase.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FormBase.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceLabel.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceButton.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceTextBox.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlDel.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlQuery.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceCheckBox.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceRadioBox.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlScrollUp.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlScrollDown.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceScrollBar.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlBar.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceListBox.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlComboArrow.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceComboBox.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlNumericDown.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlNumericUp.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceNumericUpDown.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FacePanel.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FacePictureBox.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FacePasswordLock.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceFormFixed.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceInputBox.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceMessageBox.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlClose.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlMax.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlMin.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceFormNormal.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.PanelBase.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.Resource1.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\FaceControl.csproj.GenerateResource.cache
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\FaceControl.csproj.CoreCompileInputs.cache
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\FaceControl.csproj.CopyComplete
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceLoading.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceLoadBox.resources
C:\Neotel\Program\FaceControl\FaceControl\obj\Debug\FaceControl.csproj.AssemblyReference.cache
D:\rick\vs\FaceControl\FaceControl\bin\Debug\Asa.Face.Control.dll
D:\rick\vs\FaceControl\FaceControl\bin\Debug\Asa.Face.Control.pdb
D:\rick\vs\FaceControl\FaceControl\bin\Debug\log4net.dll
D:\rick\vs\FaceControl\FaceControl\bin\Debug\log4net.xml
D:\rick\vs\FaceControl\FaceControl\obj\Debug\FaceControl.csproj.AssemblyReference.cache
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.ControlBase.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FormBase.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceLabel.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceButton.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceTextBox.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlDel.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlQuery.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceCheckBox.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceRadioBox.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlScrollUp.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlScrollDown.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceScrollBar.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlBar.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceListBox.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlComboArrow.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceComboBox.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlNumericDown.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlNumericUp.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceNumericUpDown.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FacePanel.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FacePictureBox.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FacePasswordLock.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceLoading.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceLoadBox.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceFormFixed.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceInputBox.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceMessageBox.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlClose.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlMax.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlMin.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceFormNormal.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.PanelBase.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.Resource1.resources
D:\rick\vs\FaceControl\FaceControl\obj\Debug\FaceControl.csproj.GenerateResource.cache
D:\rick\vs\FaceControl\FaceControl\obj\Debug\FaceControl.csproj.CoreCompileInputs.cache
D:\rick\vs\FaceControl\FaceControl\obj\Debug\FaceControl.csproj.CopyComplete
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.Face.Control.dll
D:\rick\vs\FaceControl\FaceControl\obj\Debug\Asa.Face.Control.pdb
E:\Codes\Neotel\DLL\FaceControl\FaceControl\bin\Debug\Asa.Face.Control.dll
E:\Codes\Neotel\DLL\FaceControl\FaceControl\bin\Debug\Asa.Face.Control.pdb
E:\Codes\Neotel\DLL\FaceControl\FaceControl\bin\Debug\log4net.dll
E:\Codes\Neotel\DLL\FaceControl\FaceControl\bin\Debug\log4net.xml
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\FaceControl.csproj.AssemblyReference.cache
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.ControlBase.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FormBase.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceLabel.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceButton.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceTextBox.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlDel.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlQuery.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceCheckBox.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceRadioBox.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlScrollUp.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlScrollDown.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceScrollBar.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlBar.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceListBox.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlComboArrow.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceComboBox.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlNumericDown.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlNumericUp.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceNumericUpDown.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FacePanel.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FacePictureBox.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FacePasswordLock.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceLoading.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceLoadBox.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceFormFixed.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceInputBox.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceMessageBox.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlClose.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlMax.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.CtlMin.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.FaceFormNormal.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.PanelBase.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.FaceControl.Resource1.resources
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\FaceControl.csproj.GenerateResource.cache
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\FaceControl.csproj.CoreCompileInputs.cache
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\FaceControl.csproj.CopyComplete
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.Face.Control.dll
E:\Codes\Neotel\DLL\FaceControl\FaceControl\obj\Debug\Asa.Face.Control.pdb
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6.1", FrameworkDisplayName = ".NET Framework 4.6.1")]
<?xml version="1.0" encoding="utf-8"?>
<Language Name="English">
<Dialog>
<LoginWrong>The login password is incorrect.</LoginWrong>
<SaveSucceed>Save Successfully</SaveSucceed>
<Error>Error</Error>
<CodeCount>The code number is 0</CodeCount>
<SelectPrintContent>Recognition complete, select print content</SelectPrintContent>
<PrintTemplateAdd>Enter the name of the new print label template</PrintTemplateAdd>
<PrintTemplateDel>Delete print label template [name] ?</PrintTemplateDel>
<PrintTemplateRename>Rename print label template [name] to</PrintTemplateRename>
<MaterialTemplateAdd>Enter the name of the new material template</MaterialTemplateAdd>
<MaterialTemplateDel>Delete material template [name] ?</MaterialTemplateDel>
<MaterialTemplateRename>Rename material template [name] to</MaterialTemplateRename>
<MaterialTemplateNoMatch>The material template does not match</MaterialTemplateNoMatch>
<ServerReturn>The server returned data is error</ServerReturn>
<ServerJson>The server returned data is empty</ServerJson>
<LabelEmpty>Print label content is empty, do you want to continue printing?</LabelEmpty>
<KeyExists>[name], Key already exists</KeyExists>
<KeyRepeat>Repeat keyword</KeyRepeat>
<KeyEmpty>Keyword can't be empty</KeyEmpty>
<NoMatchSelect>A matching pattern must be selected</NoMatchSelect>
<UnlockWrong>Wrong unlock password</UnlockWrong>
<RepeatPrint>The tray label has been printed</RepeatPrint>
<MaterialScanning>In recognition...</MaterialScanning>
<MaterialTemplateMatching>Template matching...</MaterialTemplateMatching>
<MaterialProcessing>Processing results...</MaterialProcessing>
<PleaseWaiting>Please Waiting...</PleaseWaiting>
<MatchType_max>Match at most</MatchType_max>
<MatchType_equals>Match equals</MatchType_equals>
<MatchType_min>Match at least</MatchType_min>
<OcrNeedCodeSetKey>Ocr's based barcode must first match the keyword</OcrNeedCodeSetKey>
<ThisMatchHasOcrCantdelete>There are Ocr rules under this matching rule, and all keywords cannot be deleted</ThisMatchHasOcrCantdelete>
</Dialog>
<FrmUsersLogin Text="Login" Font="Arial,24,B,">
<LblUser Text="User name" Font="Arial,11,," />
<TxtUser Text="" Font="Arial,12,," />
<BtnCancel Text="Cancel" Font="Arial,12,," />
<BtnLogin Text="Login" Font="Arial,15,B," />
</FrmUsersLogin>
<FrmMain Text="Material Registration System" Font="Arial,24,B,">
<BtnStart Text="Start" Font="Arial,14,B," />
<BtnRetrospect Text="Traceability" Font="Arial,14,B," />
<BtnSet Text="Setting" Font="Arial,14,B," />
<BtnAbout Text="About" Font="Arial,14,B," />
<BtnTriggerIO Text="Trigger Device" Font="Arial,9,," />
<LblCameraExist Text="Recognition connect status" Font="Arial,9,," />
<LblIOExist Text="IO Connect Status" Font="Arial,9,," />
<PnlExtension Text="Infomation" Font="Arial,14,B," />
</FrmMain>
<FrmSet Text="Setting" Font="Arial,24,B,">
<BtnWorkMode Text="Work Mode" Font="Arial,12,B," />
<BtnIdentify Text="Identify" Font="Arial,12,B," />
<BtnLabel Text="Label Template" Font="Arial,12,B," />
<BtnMaterial Text="Material Template" Font="Arial,12,B," />
<BtnKeyword Text="Keyword" Font="Arial,12,B," />
<BtnOK Text="Save" Font="Arial,12,," />
<BtnCancel Text="Cancel" Font="Arial,12,," />
<BtnApply Text="Apply" Font="Arial,12,," />
</FrmSet>
<FrmSetPlus Text="BarCode Rule Setting" Font="Arial,24,B,">
<BtnWorkMode Text="Work Mode" Font="Arial,12,B," />
<BtnIdentify Text="Identify" Font="Arial,12,B," />
<BtnLabel Text="Label Template" Font="Arial,12,B," />
<BtnMaterial Text="Material Template" Font="Arial,12,B," />
<BtnKeyword Text="Keyword" Font="Arial,12,B," />
<BtnOK Text="Save" Font="Arial,12,," />
<BtnCancel Text="Cancel" Font="Arial,12,," />
<BtnApply Text="Apply" Font="Arial,12,," />
</FrmSetPlus>
<UsrWorkMode>
<LblPrint Text="Printer" Font="Arial,12,B," />
<LblDefaultLabel Text="Default Print Label" Font="Arial,12,B," />
<RdoLandscape Text="Landscape" Font="Arial,12,," />
<RdoVertical Text="Vertical" Font="Arial,12,," />
<LblHistoryImage Text="Traceability image save" Font="Arial,12,B," />
<RdoOriginal Text="Original" Font="Arial,12,," />
<RdoCondense Text="Compressed" Font="Arial,12,," />
<RdoNoImage Text="Not Saving" Font="Arial,12,," />
<ChkSelectPN Text="Query PN from the server" Font="Arial,12,," />
<ChkLabelEmptyCheck Text="Print empy content reminder" Font="Arial,12,," />
<ChkPrintCompletedClear Text="Clear the contents after printed the label" Font="Arial,12,," />
<ChkOpenEnterWork Text="Enter working mode when software is opened" Font="Arial,12,," />
<ChkOpenMaximize Text="Open software maximized window" Font="Arial,12,," />
<ChkTriggerOpenLight Text="Turn on light after triggering device" Font="Arial,12,," />
<ChkPromptAfterPrinting Text="Prompt message after identification is complete" Font="Arial,12,," />
<ChkAutoPrint Text="Auto Print" Font="Arial,12,," />
<LstPrinter Text="" Font="Arial,12,," />
<LstLabel Text="" Font="Arial,12,," />
<LblDefaultMate Text="First matching template" Font="Arial,12,B," />
<LstMate Text="" Font="Arial,12,," />
</UsrWorkMode>
<UsrCamera>
<BtnOpenLight Text="Turn on light" Font="Arial,12,," />
<BtnCloseLight Text="Turn off light" Font="Arial,12,," />
<BtnCameraImage Text="Gain device image" Font="Arial,12,," />
<BtnLocalImage Text="Open local image" Font="Arial,12,," />
<BtnScanCode Text="Recognition code" Font="Arial,12,," />
<BtnSaveImage Text="Save image" Font="Arial,12,," />
<LstCode Text="" Font="Arial,12,," />
</UsrCamera>
<UsrPrintTemplate>
<BtnAddLabel Text="New template" Font="Arial,12,," />
<BtnDelLabel Text="Delete template" Font="Arial,12,," />
<BtnCopyLabel Text="Copy label" Font="Arial,12,," />
<BtnRenameLabel Text="Rename" Font="Arial,12,," />
<BtnPrintTest Text="Print test" Font="Arial,12,," />
<BtnAddField Text="Add field" Font="Arial,12,," />
<BtnDelField Text="Delete field" Font="Arial,12,," />
<BtnFieldFont Text="Field font" Font="Arial,12,," />
<BtnSetField Text="Set field content" Font="Arial,12,," />
<LblFieldType Text="Type" Font="Arial,12,B," />
<ChkFieldShowKey Text="Display key" Font="Arial,12,," />
<LblFieldX Text="X(mm)" Font="Arial,12,B," />
<LblFieldY Text="Y(mm)" Font="Arial,12,B," />
<LblFieldW Text="W(mm)" Font="Arial,12,B," />
<LblFieldH Text="L(mm)" Font="Arial,12,B," />
</UsrPrintTemplate>
<UsrMaterialTemplate>
<BtnAddMate Text="New label" Font="Arial,12,," />
<BtnDelMate Text="Delete label" Font="Arial,12,," />
<BtnRenameMate Text="Rename" Font="Arial,12,," />
<BtnOpenLight Text="Turn on light" Font="Arial,12,," />
<BtnCloseLight Text="Turn off light" Font="Arial,12,," />
<BtnCameraImage Text="Gain device image" Font="Arial,12,," />
<BtnLocalImage Text="Open Local image" Font="Arial,12,," />
<BtnScanCode Text="Recognition code" Font="Arial,12,," />
<BtnExtractCode Text="Extract code" Font="Arial,12,," />
<BtnOcrCode Text="OCR" Font="Arial,12,," />
<BtnPrimaryCode Text="Set Primary code" Font="Arial,12,," />
</UsrMaterialTemplate>
<UsrMacro>
<BtnAddKey Text="Add key" Font="Arial,12,," />
<BtnDelKey Text="Delete key" Font="Arial,12,," />
<BtnUpdateKey Text="Update key" Font="Arial,12,," />
<BtnAppendKey Text="Append conditions" Font="Arial,12,," />
<btn_setriid Text="Toggle Auto RI" Font="Arial,12,," />
<PnlReelid Text="Reel ID" Font="Arial,12,," />
<LblContent Text="Build conditions" Font="Arial,12,B," />
<LblPrefix Text="Prefix" Font="Arial,10,," />
<LblPostfix Text="Suffix" Font="Arial,10,," />
<LblPlaces Text="Field length" Font="Arial,10,," />
<ChkReelIDFillZero Text="Fill zero" Font="Arial,12,," />
</UsrMacro>
<UsrCodeExtractList>
<ChkMatchingStart Text="Match starting characters" Font="Arial,12,," />
<ChkMatchingEnd Text="Match ending characters" Font="Arial,12,," />
<ChkMatchingMiddle Text="Contains characters" Font="Arial,12,," />
<ChkMatchisnumber Text="Must be a number" Font="Arial,12,," />
<ChkMatchingSplit Text="Barcode split character" Font="Arial,12,," />
<LblSplitPart Text="Get the split part" Font="Arial,12,," />
<ChkCaseSensitivity Text="Case sensitivity" Font="Arial,12,," />
<ChkMinLength Text="Min length" Font="Arial,12,," />
<ChkMaxLength Text="Max length" Font="Arial,12,," />
<LblKeyword Text="Keyword" Font="Arial,12,," />
<LblStart Text="Part code start" Font="Arial,12,," />
<LblLength Text="Part code length" Font="Arial,12,," />
<ChkLengthEnd Text="Code ending" Font="Arial,12,," />
<ChkCheckCodeType Text="Match barcode encode type" Font="Arial,12,," />
<BtnDel Text="Delete" Font="Arial,12,," />
</UsrCodeExtractList>
<FrmAbout Text="About" Font="Arial,24,B,">
<LblName Text="Material Registration System" Font="Arial,20,," />
</FrmAbout>
<FrmFieldContent Text="Set Field Content" Font="Arial,24,B,">
<LblContent Text="Field Content" Font="Arial,12,," />
<BtnInsert Text="Insert" Font="Arial,12,," />
<BtnOK Text="OK" Font="Arial,12,," />
<BtnCancel Text="Cancel" Font="Arial,12,," />
</FrmFieldContent>
<FrmCodeExtract Text="Code Extract" Font="Arial,24,B,">
<BtnAddMatch Text="+" Font="Arial,12,," />
<BtnOK Text="OK" Font="Arial,12,," />
<BtnCancel Text="Cancel" Font="Arial,12,," />
</FrmCodeExtract>
<FrmCodeOCR Text="OCR" Font="Arial,24,B,">
<BtnSelect Text="Select" Font="Arial,12,," />
<BtnMove Text="Moving images" Font="Arial,12,," />
<BtnDel Text="Delete" Font="Arial,12,," />
<BtnKey Text="Set keywords" Font="Arial,12,," />
<BtnOK Text="OK" Font="Arial,12,," />
<BtnCancel Text="Cancel" Font="Arial,12,," />
</FrmCodeOCR>
<FrmRetrospect Text="Traceability" Font="Arial,24,B,">
<LblDateRange Text="Date range" Font="Arial,12,," />
<LblCode Text="Material ID" Font="Arial,12,," />
<BtnSelect Text="Search" Font="Arial,12,," />
<BtnExport Text="Export" Font="Arial,12,," />
<BtnExportAll Text="Export All" Font="Arial,12,," />
<LblAllCode Text="Material barcode" Font="Arial,12,," />
<LblAllLabel Text="Print label content" Font="Arial,12,," />
</FrmRetrospect>
</Language>
\ No newline at end of file \ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Language Name="简体中文">
<Dialog>
<LoginWrong>登录密码错误。</LoginWrong>
<SaveSucceed>保存成功</SaveSucceed>
<Error>错误</Error>
<CodeCount>条码数量为0</CodeCount>
<SelectPrintContent>识别完成,选择打印内容</SelectPrintContent>
<PrintTemplateAdd>输入新的打印标签模板名称</PrintTemplateAdd>
<PrintTemplateDel>确定要删除打印标签模板 [name] 吗?</PrintTemplateDel>
<PrintTemplateRename>把模板 [name] 重命名为</PrintTemplateRename>
<MaterialTemplateAdd>输入新的物料模板名称</MaterialTemplateAdd>
<MaterialTemplateDel>确定要删除物料模板 [name] 吗?</MaterialTemplateDel>
<MaterialTemplateRename>把模板 [name] 重命名为</MaterialTemplateRename>
<MaterialTemplateNoMatch>没有匹配到物料模板</MaterialTemplateNoMatch>
<ServerReturn>服务端返回数据错误</ServerReturn>
<ServerJson>服务端数据为空</ServerJson>
<LabelEmpty>打印标签内容有空内容,是否继续打印?</LabelEmpty>
<KeyExists>[name],关键字已存在</KeyExists>
<KeyRepeat>重复关键字</KeyRepeat>
<NoMatchSelect>必须选择一个匹配模式</NoMatchSelect>
<KeyEmpty>关键字为空</KeyEmpty>
<UnlockWrong>解锁密码错误</UnlockWrong>
<RepeatPrint>该料盘标签已打印</RepeatPrint>
<MaterialScanning>拍照识别...</MaterialScanning>
<MaterialTemplateMatching>模版匹配...</MaterialTemplateMatching>
<MaterialProcessing>计算结果...</MaterialProcessing>
<PleaseWaiting>请稍后...</PleaseWaiting>
<MatchType_max>匹配数量至多</MatchType_max>
<MatchType_equals>匹配数量等于</MatchType_equals>
<MatchType_min>匹配数量至少</MatchType_min>
<OcrNeedCodeSetKey>Ocr的基准条码必须先匹配关键字</OcrNeedCodeSetKey>
<ThisMatchHasOcrCantdelete>该匹配规则下有Ocr规则,不能删除全部关键字</ThisMatchHasOcrCantdelete>
</Dialog>
<Form1 Text="登录" Font="微软雅黑,24,B,">
<LblUser Text="用户名:" Font="微软雅黑,11,," />
<TxtUser Text="" Font="微软雅黑,12,," />
<BtnCancel Text="取消" Font="微软雅黑,12,," />
<BtnLogin Text="登录" Font="微软雅黑,15,B," />
<!--原文:按钮1-->
<faceButton1 Text="按钮1" Font="微软雅黑,12,," />
</Form1>
<FrmMain Text="物料注册系统" Font="微软雅黑,24,B,">
<BtnStart Text="开始" Font="微软雅黑,14,B," />
<BtnRetrospect Text="追溯" Font="微软雅黑,14,B," />
<BtnSet Text="设置" Font="微软雅黑,14,B," />
<BtnAbout Text="关于" Font="微软雅黑,14,B," />
<BtnTriggerIO Text="触发识别设备" Font="微软雅黑,9,," />
<LblCameraExist Text="识别设备连接" Font="微软雅黑,9,," />
<LblIOExist Text="IO模块连接" Font="微软雅黑,9,," />
<PnlExtension Text="功能" Font="微软雅黑,14,B," />
</FrmMain>
<FrmSet Text="设置" Font="微软雅黑,24,B,">
<BtnWorkMode Text="工作模式" Font="微软雅黑,12,B," />
<BtnIdentify Text="识别设备" Font="微软雅黑,12,B," />
<BtnLabel Text="打印模版" Font="微软雅黑,12,B," />
<BtnMaterial Text="物料模版" Font="微软雅黑,12,B," />
<BtnKeyword Text="关键字" Font="微软雅黑,12,B," />
<BtnOK Text="保存" Font="微软雅黑,12,," />
<BtnCancel Text="取消" Font="微软雅黑,12,," />
<BtnApply Text="应用" Font="微软雅黑,12,," />
</FrmSet>
<FrmSetPlus Text="条码规则设置" Font="微软雅黑,24,B,">
<BtnWorkMode Text="工作模式" Font="微软雅黑,12,B," />
<BtnIdentify Text="识别设备" Font="微软雅黑,12,B," />
<BtnLabel Text="打印模版" Font="微软雅黑,12,B," />
<BtnMaterial Text="物料模版" Font="微软雅黑,12,B," />
<BtnKeyword Text="关键字" Font="微软雅黑,12,B," />
<BtnOK Text="保存" Font="微软雅黑,12,," />
<BtnCancel Text="取消" Font="微软雅黑,12,," />
<BtnApply Text="应用" Font="微软雅黑,12,," />
</FrmSetPlus>
<UsrWorkMode>
<LblPrint Text="打印机" Font="微软雅黑,12,B," />
<LblDefaultLabel Text="默认打印标签" Font="微软雅黑,12,B," />
<RdoLandscape Text="横向打印" Font="微软雅黑,12,," />
<RdoVertical Text="纵向打印" Font="微软雅黑,12,," />
<LblHistoryImage Text="追溯图像保存" Font="微软雅黑,12,B," />
<RdoOriginal Text="原图" Font="微软雅黑,12,," />
<RdoCondense Text="压缩图像" Font="微软雅黑,12,," />
<RdoNoImage Text="不保存" Font="微软雅黑,12,," />
<ChkSelectPN Text="从服务器上查询PN" Font="微软雅黑,12,," />
<ChkLabelEmptyCheck Text="打印标签空内容提醒" Font="微软雅黑,12,," />
<ChkPrintCompletedClear Text="打印标签后清除内容" Font="微软雅黑,12,," />
<ChkOpenEnterWork Text="打开软件自动进入工作模式" Font="微软雅黑,12,," />
<ChkOpenMaximize Text="打开软件最大化窗口" Font="微软雅黑,12,," />
<ChkTriggerOpenLight Text="触发信号后在打开光源" Font="微软雅黑,12,," />
<ChkPromptAfterPrinting Text="识别完成后提示" Font="微软雅黑,12,," />
<ChkAutoPrint Text="自动打印" Font="微软雅黑,12,," />
<LstPrinter Text="" Font="微软雅黑,12,," />
<LstLabel Text="" Font="微软雅黑,12,," />
<LblDefaultMate Text="优先匹配模板" Font="微软雅黑,12,B," />
<LstMate Text="" Font="微软雅黑,12,," />
</UsrWorkMode>
<UsrCamera>
<BtnOpenLight Text="打开光源" Font="微软雅黑,12,," />
<BtnCloseLight Text="关闭光源" Font="微软雅黑,12,," />
<BtnCameraImage Text="获取设备图像" Font="微软雅黑,12,," />
<BtnLocalImage Text="打开本地图片" Font="微软雅黑,12,," />
<BtnScanCode Text="识别条码" Font="微软雅黑,12,," />
<BtnSaveImage Text="保存图像" Font="微软雅黑,12,," />
<LstCode Text="" Font="微软雅黑,12,," />
</UsrCamera>
<UsrPrintTemplate>
<BtnAddLabel Text="新建标签" Font="微软雅黑,12,," />
<BtnDelLabel Text="删除标签" Font="微软雅黑,12,," />
<BtnCopyLabel Text="复制标签" Font="微软雅黑,12,," />
<BtnRenameLabel Text="重命名" Font="微软雅黑,12,," />
<BtnPrintTest Text="打印测试" Font="微软雅黑,12,," />
<BtnAddField Text="添加字段" Font="微软雅黑,12,," />
<BtnDelField Text="删除字段" Font="微软雅黑,12,," />
<BtnFieldFont Text="字段字体" Font="微软雅黑,12,," />
<BtnSetField Text="设置字段内容" Font="微软雅黑,12,," />
<LblFieldType Text="码制" Font="微软雅黑,12,B," />
<ChkFieldShowKey Text="显示关键字" Font="微软雅黑,12,," />
<LblFieldX Text="X(mm)" Font="微软雅黑,12,B," />
<LblFieldY Text="Y(mm)" Font="微软雅黑,12,B," />
<LblFieldW Text="W(mm)" Font="微软雅黑,12,B," />
<LblFieldH Text="L(mm)" Font="微软雅黑,12,B," />
</UsrPrintTemplate>
<UsrMaterialTemplate>
<BtnAddMate Text="新建模板" Font="微软雅黑,12,," />
<BtnDelMate Text="删除模板" Font="微软雅黑,12,," />
<BtnRenameMate Text="重命名" Font="微软雅黑,12,," />
<BtnOpenLight Text="打开光源" Font="微软雅黑,12,," />
<BtnCloseLight Text="关闭光源" Font="微软雅黑,12,," />
<BtnCameraImage Text="获取设备图像" Font="微软雅黑,12,," />
<BtnLocalImage Text="打开本地图片" Font="微软雅黑,12,," />
<BtnScanCode Text="识别条码" Font="微软雅黑,12,," />
<BtnExtractCode Text="提取条码" Font="微软雅黑,12,," />
<BtnOcrCode Text="OCR" Font="微软雅黑,12,," />
<BtnPrimaryCode Text="特征码" Font="微软雅黑,12,," />
</UsrMaterialTemplate>
<UsrMacro>
<BtnAddKey Text="添加" Font="微软雅黑,12,," />
<BtnDelKey Text="删除" Font="微软雅黑,12,," />
<BtnUpdateKey Text="更新" Font="微软雅黑,12,," />
<BtnAppendKey Text="添加到生成条件" Font="微软雅黑,12,," />
<btn_setriid Text="切换自动RI" Font="微软雅黑,12,," />
<PnlReelid Text="Reel ID" Font="微软雅黑,12,," />
<LblContent Text="生成条件" Font="微软雅黑,12,B," />
<LblPrefix Text="开头字符串" Font="微软雅黑,12,," />
<LblPostfix Text="结尾字符串" Font="微软雅黑,12,," />
<LblPlaces Text="数字位数" Font="微软雅黑,12,," />
<ChkReelIDFillZero Text="位数不足前面补0" Font="微软雅黑,12,," />
</UsrMacro>
<UsrCodeExtractList>
<ChkMatchingStart Text="匹配开头字符" Font="微软雅黑,12,," />
<ChkMatchingEnd Text="匹配结尾字符" Font="微软雅黑,12,," />
<ChkMatchingMiddle Text="匹配任意位置字符" Font="微软雅黑,12,," />
<ChkMatchisnumber Text="必须为数字" Font="微软雅黑,12,," />
<ChkMatchingSplit Text="条码分割字符" Font="微软雅黑,12,," />
<LblSplitPart Text="获取分割部分" Font="微软雅黑,12,," />
<ChkCaseSensitivity Text="区分大小写" Font="微软雅黑,12,," />
<ChkMinLength Text="最小长度" Font="微软雅黑,12,," />
<ChkMaxLength Text="最大长度" Font="微软雅黑,12,," />
<LblKeyword Text="设置关键字" Font="微软雅黑,12,," />
<LblStart Text="内容截取起始位" Font="微软雅黑,12,," />
<LblLength Text="内容截取长度" Font="微软雅黑,12,," />
<ChkLengthEnd Text="截取至结尾" Font="微软雅黑,12,," />
<ChkCheckCodeType Text="匹配条码编码类型" Font="微软雅黑,12,," />
<BtnDel Text="删除" Font="微软雅黑,12,," />
</UsrCodeExtractList>
<FrmAbout Text="关于" Font="微软雅黑,24,B,">
<LblName Text="物料注册系统" Font="微软雅黑,20,," />
</FrmAbout>
<FrmFieldContent Text="字段内容设置" Font="微软雅黑,24,B,">
<LblContent Text="字段内容" Font="微软雅黑,12,," />
<BtnInsert Text="插入" Font="微软雅黑,12,," />
<BtnOK Text="确定" Font="微软雅黑,12,," />
<BtnCancel Text="取消" Font="微软雅黑,12,," />
</FrmFieldContent>
<FrmCodeExtract Text="提取条码" Font="微软雅黑,24,B,">
<BtnAddMatch Text="+" Font="微软雅黑,12,," />
<BtnOK Text="确定" Font="微软雅黑,12,," />
<BtnCancel Text="取消" Font="微软雅黑,12,," />
</FrmCodeExtract>
<FrmCodeOCR Text="OCR" Font="微软雅黑,24,B,">
<BtnSelect Text="矩形选择框" Font="微软雅黑,12,," />
<BtnMove Text="移动图像" Font="微软雅黑,12,," />
<BtnDel Text="删除" Font="微软雅黑,12,," />
<BtnKey Text="设置关键字" Font="微软雅黑,12,," />
<BtnOK Text="确定" Font="微软雅黑,12,," />
<BtnCancel Text="取消" Font="微软雅黑,12,," />
</FrmCodeOCR>
<FrmRetrospect Text="追溯" Font="微软雅黑,24,B,">
<LblDateRange Text="日期范围" Font="微软雅黑,12,," />
<LblCode Text="条码" Font="微软雅黑,12,," />
<BtnSelect Text="查询" Font="微软雅黑,12,," />
<BtnExport Text="导出" Font="微软雅黑,12,," />
<BtnExportAll Text="导出所有" Font="微软雅黑,12,," />
<LblAllCode Text="物料条码" Font="微软雅黑,12,," />
<LblAllLabel Text="标签内容" Font="微软雅黑,12,," />
</FrmRetrospect>
</Language>
\ No newline at end of file \ No newline at end of file
此文件类型无法预览
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
</configuration>
\ No newline at end of file \ No newline at end of file
此文件类型无法预览
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6.1", FrameworkDisplayName = ".NET Framework 4.6.1")]
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
C:\Neotel\Program_Beta\FaceControl\Test\bin\Debug\Test.exe.config
C:\Neotel\Program_Beta\FaceControl\Test\bin\Debug\Test.exe
C:\Neotel\Program_Beta\FaceControl\Test\bin\Debug\Test.pdb
C:\Neotel\Program_Beta\FaceControl\Test\bin\Debug\Asa.Face.Control.dll
C:\Neotel\Program_Beta\FaceControl\Test\bin\Debug\Asa.Face.Control.pdb
C:\Neotel\Program_Beta\FaceControl\Test\obj\Debug\Test.csprojAssemblyReference.cache
C:\Neotel\Program_Beta\FaceControl\Test\obj\Debug\Test.Form1.resources
C:\Neotel\Program_Beta\FaceControl\Test\obj\Debug\Test.Properties.Resources.resources
C:\Neotel\Program_Beta\FaceControl\Test\obj\Debug\Test.csproj.GenerateResource.cache
C:\Neotel\Program_Beta\FaceControl\Test\obj\Debug\Test.csproj.CoreCompileInputs.cache
C:\Neotel\Program_Beta\FaceControl\Test\obj\Debug\Test.csproj.CopyComplete
C:\Neotel\Program_Beta\FaceControl\Test\obj\Debug\Test.exe
C:\Neotel\Program_Beta\FaceControl\Test\obj\Debug\Test.pdb
C:\Neotel\Program\FaceControl\Test\bin\Debug\Test.exe.config
C:\Neotel\Program\FaceControl\Test\bin\Debug\Test.exe
C:\Neotel\Program\FaceControl\Test\bin\Debug\Test.pdb
C:\Neotel\Program\FaceControl\Test\bin\Debug\Asa.Face.Control.dll
C:\Neotel\Program\FaceControl\Test\bin\Debug\Asa.Face.Control.pdb
C:\Neotel\Program\FaceControl\Test\obj\Debug\Test.Form1.resources
C:\Neotel\Program\FaceControl\Test\obj\Debug\Test.Properties.Resources.resources
C:\Neotel\Program\FaceControl\Test\obj\Debug\Test.csproj.GenerateResource.cache
C:\Neotel\Program\FaceControl\Test\obj\Debug\Test.csproj.CoreCompileInputs.cache
C:\Neotel\Program\FaceControl\Test\obj\Debug\Test.csproj.CopyComplete
C:\Neotel\Program\FaceControl\Test\obj\Debug\Test.exe
C:\Neotel\Program\FaceControl\Test\obj\Debug\Test.pdb
C:\Neotel\Program\FaceControl\Test\obj\Debug\Test.csproj.AssemblyReference.cache
D:\rick\vs\FaceControl\Test\bin\Debug\Test.exe.config
D:\rick\vs\FaceControl\Test\bin\Debug\Test.exe
D:\rick\vs\FaceControl\Test\bin\Debug\Test.pdb
D:\rick\vs\FaceControl\Test\bin\Debug\Asa.Face.Control.dll
D:\rick\vs\FaceControl\Test\bin\Debug\Asa.Face.Control.pdb
D:\rick\vs\FaceControl\Test\obj\Debug\Test.csproj.AssemblyReference.cache
D:\rick\vs\FaceControl\Test\obj\Debug\Test.Form1.resources
D:\rick\vs\FaceControl\Test\obj\Debug\Test.Properties.Resources.resources
D:\rick\vs\FaceControl\Test\obj\Debug\Test.csproj.GenerateResource.cache
D:\rick\vs\FaceControl\Test\obj\Debug\Test.csproj.CoreCompileInputs.cache
D:\rick\vs\FaceControl\Test\obj\Debug\Test.csproj.CopyComplete
D:\rick\vs\FaceControl\Test\obj\Debug\Test.exe
D:\rick\vs\FaceControl\Test\obj\Debug\Test.pdb
E:\Codes\Neotel\DLL\FaceControl\Test\bin\Debug\Test.exe.config
E:\Codes\Neotel\DLL\FaceControl\Test\bin\Debug\Test.exe
E:\Codes\Neotel\DLL\FaceControl\Test\bin\Debug\Test.pdb
E:\Codes\Neotel\DLL\FaceControl\Test\bin\Debug\Asa.Face.Control.dll
E:\Codes\Neotel\DLL\FaceControl\Test\bin\Debug\Asa.Face.Control.pdb
E:\Codes\Neotel\DLL\FaceControl\Test\obj\Debug\Test.csproj.AssemblyReference.cache
E:\Codes\Neotel\DLL\FaceControl\Test\obj\Debug\Test.csproj.SuggestedBindingRedirects.cache
E:\Codes\Neotel\DLL\FaceControl\Test\obj\Debug\Test.Form1.resources
E:\Codes\Neotel\DLL\FaceControl\Test\obj\Debug\Test.Properties.Resources.resources
E:\Codes\Neotel\DLL\FaceControl\Test\obj\Debug\Test.csproj.GenerateResource.cache
E:\Codes\Neotel\DLL\FaceControl\Test\obj\Debug\Test.csproj.CoreCompileInputs.cache
E:\Codes\Neotel\DLL\FaceControl\Test\obj\Debug\Test.csproj.CopyComplete
E:\Codes\Neotel\DLL\FaceControl\Test\obj\Debug\Test.exe
E:\Codes\Neotel\DLL\FaceControl\Test\obj\Debug\Test.pdb
此文件类型无法预览
此文件类型无法预览
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6.1", FrameworkDisplayName = ".NET Framework 4.6.1")]
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!