Merge branch 'dev_plus' of http://10.0.0.94:10080/nx.wms/CleanMachine into dev_plus
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net472</TargetFramework>
|
||||
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
|
||||
<StartupObject></StartupObject>
|
||||
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@@ -54,7 +56,7 @@
|
||||
<Compile Update="FrmUserControl\frmIOMonitorAuto.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Update="FrmUserControl\frmMainDetailNew.cs">
|
||||
<Compile Update="FrmUserControl\frmMainDetail.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Update="FrmUserControl\frmDayReport.cs" />
|
||||
|
||||
Binary file not shown.
630
CleanMachineHMI/FrmUserControl/frmMainDetail.Designer.cs
generated
630
CleanMachineHMI/FrmUserControl/frmMainDetail.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -117,4 +117,10 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="kryptonContextMenu1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>202, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -117,10 +117,4 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="kryptonContextMenu1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>202, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -185,22 +185,29 @@ namespace CleanMachineHMI.Utils
|
||||
|
||||
public static void SetSingleControlText(this Control form, Control control)
|
||||
{
|
||||
#if RELEASE
|
||||
|
||||
try
|
||||
{
|
||||
var key = form.Name + "|" + control.Name;
|
||||
if (!Global.ThemeLanguage.ContainsKey(key))
|
||||
{
|
||||
control.Text = control.Name;
|
||||
}
|
||||
AddzhCN(key, control.Text, "");
|
||||
|
||||
#endif
|
||||
var key = form.Name + "|" + control.Name;
|
||||
if (!Global.ThemeLanguage.ContainsKey(key))
|
||||
{
|
||||
control.Text = control.Name;
|
||||
}
|
||||
else
|
||||
{
|
||||
control.Text = Global.ThemeLanguage[key];
|
||||
}
|
||||
AddzhCN(key, control.Text, "");
|
||||
|
||||
#if RELEASE
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogHelper.WriteLog(ex.Message, LogTypeEum.Err);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user