Wupi engine hinzugefügt

This commit is contained in:
2019-03-27 12:47:20 +01:00
parent 26eaa9b213
commit c182f23ce2
5 changed files with 15 additions and 1 deletions

Binary file not shown.

BIN
3rdPackage/wupi.net.dll Normal file

Binary file not shown.

View File

@@ -18,7 +18,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG</DefineConstants>
<DefineConstants>TRACE;DEBUG;LAPTOP</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\SanSystem.xml</DocumentationFile>
@@ -82,6 +82,14 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\3rdPackage\WibuCmNET.dll</HintPath>
</Reference>
<Reference Include="wupi.net, Version=9.20.8.500, Culture=neutral, PublicKeyToken=5f399135ee0c35d4, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\3rdPackage\wupi.net.dll</HintPath>
</Reference>
<Reference Include="WupiEngineNet, Version=9.20.11.500, Culture=neutral, PublicKeyToken=8d0bd6872db0b9bb, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\3rdPackage\WupiEngineNet.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Dongle.cs" />

View File

@@ -14,6 +14,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WupiEngine;
namespace SanSystem
{
@@ -57,6 +58,8 @@ namespace SanSystem
#if (DEBUG || LAPTOP)
this.Text += " INTERNE DEBUG VERSION";
#endif
if (Wupi.QueryInfo(0, QueryInfoOption.FirmCode) == 0)
this.Text += " nicht geschützter Version nur für TESTZWECKE!";
}

View File

@@ -169,7 +169,10 @@ namespace SanSystem
private void btn_delete_Click(object sender, EventArgs e)
{
if (MessageBox.Show("Wollen Sie diesen Eintrag wirklich Löschen?", "Sind sie Sicher?", MessageBoxButtons.YesNo, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button2) != DialogResult.Yes)
return;
Datenbank.Instance.loadedProjekt.Objekte.Remove(inspektionsobjekt);
this.Close();
}
private void cb_objekname_man_CheckedChanged(object sender, EventArgs e)