|
|
@@ -20,11 +20,11 @@ namespace HKCardOUT.Views |
|
|
|
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); |
|
|
|
} |
|
|
|
//else if (StartEXE.IsExistKey("HKCardOUT")) |
|
|
|
//{ |
|
|
|
// var Paths = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "HKCardOUT.exe"); |
|
|
|
// StartEXE.SelfRunning(false, "HKCardOUT", Paths); |
|
|
|
//} |
|
|
|
this.Loaded += RootView_Loaded; |
|
|
|
} |
|
|
|
|
|
|
|