From 0b3974d54a0577d9a18f52ecbbda8e6e96a010de Mon Sep 17 00:00:00 2001 From: cfrpg <726525185@qq.com> Date: Tue, 18 May 2021 22:44:18 +0800 Subject: [PATCH] Add more open file options. --- src/SharpBladeFlightAnalyzer/App.xaml.cs | 5 +- src/SharpBladeFlightAnalyzer/MainWindow.xaml | 2 +- .../MainWindow.xaml.cs | 50 +++++++++++++------ 3 files changed, 39 insertions(+), 18 deletions(-) diff --git a/src/SharpBladeFlightAnalyzer/App.xaml.cs b/src/SharpBladeFlightAnalyzer/App.xaml.cs index c147791..d24ed81 100644 --- a/src/SharpBladeFlightAnalyzer/App.xaml.cs +++ b/src/SharpBladeFlightAnalyzer/App.xaml.cs @@ -12,6 +12,7 @@ namespace SharpBladeFlightAnalyzer /// App.xaml 的交互逻辑 /// public partial class App : Application - { - } + { + + } } diff --git a/src/SharpBladeFlightAnalyzer/MainWindow.xaml b/src/SharpBladeFlightAnalyzer/MainWindow.xaml index 0fe1a35..6dfd7b0 100644 --- a/src/SharpBladeFlightAnalyzer/MainWindow.xaml +++ b/src/SharpBladeFlightAnalyzer/MainWindow.xaml @@ -6,7 +6,7 @@ xmlns:local="clr-namespace:SharpBladeFlightAnalyzer" xmlns:d3="clr-namespace:InteractiveDataDisplay.WPF;assembly=InteractiveDataDisplay.WPF" mc:Ignorable="d" - Title="SharpBladeFlightAnalyzer - cfrpg" Height="700" Width="1000" MinHeight="700" MinWidth="1000" Closing="Window_Closing"> + Title="SharpBladeFlightAnalyzer - cfrpg" Height="700" Width="1000" MinHeight="700" MinWidth="1000" Closing="Window_Closing" Drop="Window_Drop" AllowDrop="True">