Aggiunta opzione in config x trayClose (così che NON si possa chiudere da tray...) - default false x CMS/SCM
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
<add key="openDumpOnStart" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
|
||||
<add key="startMinimized" value="true" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
|
||||
<add key="windowCanMax" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
|
||||
<add key="trayClose" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
|
||||
<add key="defaultConfFile" value="CMS_FANUC.xml" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
|
||||
</appSettings>
|
||||
</configuration>
|
||||
@@ -6,6 +6,7 @@
|
||||
<add key="openDumpOnStart" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
|
||||
<add key="startMinimized" value="true" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
|
||||
<add key="windowCanMax" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
|
||||
<add key="trayClose" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
|
||||
<add key="defaultConfFile" value="SCM_ESA.xml" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
|
||||
</appSettings>
|
||||
</configuration>
|
||||
@@ -51,6 +51,7 @@
|
||||
<add key="openDumpOnStart" value="true" />
|
||||
<add key="startMinimized" value="true" />
|
||||
<add key="windowCanMax" value="true" />
|
||||
<add key="trayClose" value="true" />
|
||||
|
||||
<add key="autoSaveSec" value="60" />
|
||||
|
||||
|
||||
@@ -190,7 +190,11 @@ namespace MTC_Adapter
|
||||
{
|
||||
trayMenu.Items.Add("Show MTC Adapter");
|
||||
}
|
||||
trayMenu.Items.Add("Close MTC Adapter");
|
||||
// se è permesso tray close...
|
||||
if (utils.CRB("trayClose"))
|
||||
{
|
||||
trayMenu.Items.Add("Close MTC Adapter");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user