From a9661da14f88fc18750e6363df19631dcc5247a3 Mon Sep 17 00:00:00 2001 From: Katy Coe Date: Mon, 27 Jul 2020 22:14:55 +0200 Subject: [PATCH] GUI: Enable drag & drop for all file combinations --- Il2CppInspector.GUI/MainWindow.xaml | 25 +++- Il2CppInspector.GUI/MainWindow.xaml.cs | 151 +++++++++++++++++-------- 2 files changed, 123 insertions(+), 53 deletions(-) diff --git a/Il2CppInspector.GUI/MainWindow.xaml b/Il2CppInspector.GUI/MainWindow.xaml index a794fc9..4de44f1 100644 --- a/Il2CppInspector.GUI/MainWindow.xaml +++ b/Il2CppInspector.GUI/MainWindow.xaml @@ -8,7 +8,8 @@ mc:Ignorable="d" Title="Il2CppInspector" Height="850" Width="1080" Background="White" WindowStartupLocation="CenterScreen" - ContentRendered="MainWindow_OnContentRendered"> + ContentRendered="MainWindow_OnContentRendered" + Drop="MainWindow_OnDrop"> @@ -92,6 +93,20 @@ + + + + + @@ -407,20 +422,22 @@ Option 1 - Select an IL2CPP metadata file + Select or drag & drop an IL2CPP metadata file + + You can drag & drop both the metadata and binary together - +