xxe 2 anni fa
parent
commit
3d627f4b44
2 ha cambiato i file con 12 aggiunte e 12 eliminazioni
  1. +2
    -2
      HKCardOUT/HKCardOUT.csproj
  2. +10
    -10
      HKCardOUT/Views/RootView.xaml.cs

+ 2
- 2
HKCardOUT/HKCardOUT.csproj Vedi File

@@ -14,9 +14,9 @@
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<Platforms>AnyCPU;x86</Platforms>
</PropertyGroup>
<!--<PropertyGroup>
<PropertyGroup>
<ApplicationManifest>App.manifest</ApplicationManifest>
</PropertyGroup>-->
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE;Core</DefineConstants>
</PropertyGroup>


+ 10
- 10
HKCardOUT/Views/RootView.xaml.cs Vedi File

@@ -15,16 +15,16 @@ namespace HKCardOUT.Views
public RootView()
{
InitializeComponent();
//if (!StartEXE.IsExistKey("HKCardOUT"))
//{
// var Paths = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "HKCardOUT.exe");
// StartEXE.SelfRunning(true, "HKCardOUT", Paths);
//}
//else if (StartEXE.IsExistKey("HKCardOUT"))
//{
// var Paths = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "HKCardOUT.exe");
// StartEXE.SelfRunning(false, "HKCardOUT", Paths);
//}
if (!StartEXE.IsExistKey("HKCardOUT"))
{
var Paths = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "HKCardOUT.exe");
StartEXE.SelfRunning(true, "HKCardOUT", Paths);
}
else if (StartEXE.IsExistKey("HKCardOUT"))
{
var Paths = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "HKCardOUT.exe");
StartEXE.SelfRunning(false, "HKCardOUT", Paths);
}
this.Loaded += RootView_Loaded;
}



Caricamento…
Annulla
Salva