From 1c5e1feebd01a49490659e2d136d2cce36bb4190 Mon Sep 17 00:00:00 2001 From: Micah Morrison Date: Fri, 23 Aug 2019 14:05:10 -0400 Subject: [PATCH] Add ability to change number of sound buttons per page (with undo) --- SoundBoard/ButtonGridDialog.xaml | 84 ++++ SoundBoard/ButtonGridDialog.xaml.cs | 132 +++++ SoundBoard/Buttons.cs | 18 + SoundBoard/ChildWindowBase.cs | 39 ++ SoundBoard/Extensions.cs | 79 +++ SoundBoard/MainWindow.xaml.cs | 511 ++++++++++---------- SoundBoard/Properties/Resources.Designer.cs | 18 + SoundBoard/Properties/Resources.resx | 6 + SoundBoard/SoundBoard.csproj | 28 ++ SoundBoard/Styles.xaml | 15 +- SoundBoard/TwoDimensionalList.cs | 62 +++ SoundBoard/Utilities.cs | 11 + SoundBoard/WaitCursor.cs | 44 ++ SoundBoard/packages.config | 2 + 14 files changed, 802 insertions(+), 247 deletions(-) create mode 100644 SoundBoard/ButtonGridDialog.xaml create mode 100644 SoundBoard/ButtonGridDialog.xaml.cs create mode 100644 SoundBoard/ChildWindowBase.cs create mode 100644 SoundBoard/TwoDimensionalList.cs create mode 100644 SoundBoard/WaitCursor.cs diff --git a/SoundBoard/ButtonGridDialog.xaml b/SoundBoard/ButtonGridDialog.xaml new file mode 100644 index 0000000..f70794b --- /dev/null +++ b/SoundBoard/ButtonGridDialog.xaml @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +