From 970673cfe3ab28f8c0716e1430fdcaca6765d4f0 Mon Sep 17 00:00:00 2001 From: xxe Date: Wed, 9 Nov 2022 10:47:46 +0800 Subject: [PATCH] 1 --- HKLinsten/MainWindow.xaml.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/HKLinsten/MainWindow.xaml.cs b/HKLinsten/MainWindow.xaml.cs index 213b15c..39e0faf 100644 --- a/HKLinsten/MainWindow.xaml.cs +++ b/HKLinsten/MainWindow.xaml.cs @@ -26,6 +26,12 @@ namespace HKLinsten InitializeComponent(); var path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "HKCardOUT.exe"); Process.Start(path); + this.Loaded += MainWindow_Loaded; + } + + private void MainWindow_Loaded(object sender, RoutedEventArgs e) + { + this.Visibility = Visibility.Hidden; } } }