From 38b5027af1025f9cf60661cf561fd092bed5c0c1 Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Fri, 19 Jul 2019 17:40:35 -0700 Subject: [PATCH] Port MakeDist to WPF The only tricky part is the RichTextBox, but that's mostly copy and paste from the regression test harness. --- MakeDistWPF/App.config | 6 + MakeDistWPF/App.xaml | 9 + MakeDistWPF/App.xaml.cs | 15 + MakeDistWPF/CopyProgress.xaml | 40 +++ MakeDistWPF/CopyProgress.xaml.cs | 132 ++++++++ MakeDistWPF/FileCopier.cs | 320 +++++++++++++++++++ MakeDistWPF/MainWindow.xaml | 53 +++ MakeDistWPF/MainWindow.xaml.cs | 75 +++++ MakeDistWPF/MakeDistWPF.csproj | 112 +++++++ MakeDistWPF/Properties/AssemblyInfo.cs | 55 ++++ MakeDistWPF/Properties/Resources.Designer.cs | 62 ++++ MakeDistWPF/Properties/Resources.resx | 117 +++++++ MakeDistWPF/Properties/Settings.Designer.cs | 26 ++ MakeDistWPF/Properties/Settings.settings | 7 + WorkBench.sln | 6 + 15 files changed, 1035 insertions(+) create mode 100644 MakeDistWPF/App.config create mode 100644 MakeDistWPF/App.xaml create mode 100644 MakeDistWPF/App.xaml.cs create mode 100644 MakeDistWPF/CopyProgress.xaml create mode 100644 MakeDistWPF/CopyProgress.xaml.cs create mode 100644 MakeDistWPF/FileCopier.cs create mode 100644 MakeDistWPF/MainWindow.xaml create mode 100644 MakeDistWPF/MainWindow.xaml.cs create mode 100644 MakeDistWPF/MakeDistWPF.csproj create mode 100644 MakeDistWPF/Properties/AssemblyInfo.cs create mode 100644 MakeDistWPF/Properties/Resources.Designer.cs create mode 100644 MakeDistWPF/Properties/Resources.resx create mode 100644 MakeDistWPF/Properties/Settings.Designer.cs create mode 100644 MakeDistWPF/Properties/Settings.settings diff --git a/MakeDistWPF/App.config b/MakeDistWPF/App.config new file mode 100644 index 0000000..b50c74f --- /dev/null +++ b/MakeDistWPF/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/MakeDistWPF/App.xaml b/MakeDistWPF/App.xaml new file mode 100644 index 0000000..199bec8 --- /dev/null +++ b/MakeDistWPF/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/MakeDistWPF/App.xaml.cs b/MakeDistWPF/App.xaml.cs new file mode 100644 index 0000000..166f0cc --- /dev/null +++ b/MakeDistWPF/App.xaml.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace MakeDistWPF { + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application { + } +} diff --git a/MakeDistWPF/CopyProgress.xaml b/MakeDistWPF/CopyProgress.xaml new file mode 100644 index 0000000..174c070 --- /dev/null +++ b/MakeDistWPF/CopyProgress.xaml @@ -0,0 +1,40 @@ + + + + +