From be5e740b5731a1fe187adb302a625bf949fa9d09 Mon Sep 17 00:00:00 2001 From: Justin Swanson Date: Sun, 13 Oct 2019 14:39:29 -0500 Subject: [PATCH] SlideshowView.xaml Just moved some XAML into a subfile --- Wabbajack/UI/MainWindow.xaml | 123 +------------------------ Wabbajack/UI/MainWindow.xaml.cs | 8 +- Wabbajack/UI/SlideshowView.xaml | 138 +++++++++++++++++++++++++++++ Wabbajack/UI/SlideshowView.xaml.cs | 28 ++++++ Wabbajack/Wabbajack.csproj | 9 +- 5 files changed, 182 insertions(+), 124 deletions(-) create mode 100644 Wabbajack/UI/SlideshowView.xaml create mode 100644 Wabbajack/UI/SlideshowView.xaml.cs diff --git a/Wabbajack/UI/MainWindow.xaml b/Wabbajack/UI/MainWindow.xaml index f17f5bba..4d7b7ded 100644 --- a/Wabbajack/UI/MainWindow.xaml +++ b/Wabbajack/UI/MainWindow.xaml @@ -45,127 +45,12 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Enable the Slideshow - - - Show NSFW Mods in the Slideshow - - - - - - + Grid.ColumnSpan="2" + DataContext="{Binding Slideshow}" /> diff --git a/Wabbajack/UI/SlideshowView.xaml b/Wabbajack/UI/SlideshowView.xaml new file mode 100644 index 00000000..f049fb26 --- /dev/null +++ b/Wabbajack/UI/SlideshowView.xaml @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Enable the Slideshow + + + Show NSFW Mods in the Slideshow + + + + + + + + diff --git a/Wabbajack/UI/SlideshowView.xaml.cs b/Wabbajack/UI/SlideshowView.xaml.cs new file mode 100644 index 00000000..b183908a --- /dev/null +++ b/Wabbajack/UI/SlideshowView.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace Wabbajack +{ + /// + /// Interaction logic for SlideshowView.xaml + /// + public partial class SlideshowView : UserControl + { + public SlideshowView() + { + InitializeComponent(); + } + } +} diff --git a/Wabbajack/Wabbajack.csproj b/Wabbajack/Wabbajack.csproj index 3fa27e28..fd6ba8fe 100644 --- a/Wabbajack/Wabbajack.csproj +++ b/Wabbajack/Wabbajack.csproj @@ -1,4 +1,4 @@ - + @@ -238,6 +238,9 @@ + + SlideshowView.xaml + ModlistPropertiesWindow.xaml @@ -259,6 +262,10 @@ + + Designer + MSBuild:Compile + MSBuild:Compile Designer