Browse Source

123

Lishi
xxe 2 years ago
parent
commit
3d627f4b44
2 changed files with 12 additions and 12 deletions
  1. +2
    -2
      HKCardOUT/HKCardOUT.csproj
  2. +10
    -10
      HKCardOUT/Views/RootView.xaml.cs

+ 2
- 2
HKCardOUT/HKCardOUT.csproj View 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 View 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;
}



Loading…
Cancel
Save