瀏覽代碼

123

Lishi
xxe 2 年之前
父節點
當前提交
3d627f4b44
共有 2 個檔案被更改,包括 12 行新增12 行删除
  1. +2
    -2
      HKCardOUT/HKCardOUT.csproj
  2. +10
    -10
      HKCardOUT/Views/RootView.xaml.cs

+ 2
- 2
HKCardOUT/HKCardOUT.csproj 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存