From daf2caadf12f7d945ba54f100178c2d14acabb43 Mon Sep 17 00:00:00 2001 From: Micah Morrison Date: Wed, 19 Apr 2023 09:12:31 -0400 Subject: [PATCH 1/2] Add custom NetNat range --- .../Controls/SelectionWindow.xaml | 121 +++++++++++++----- WgServerforWindows/MainWindow.xaml.cs | 4 +- .../Models/GlobalAppSettings.cs | 8 ++ .../Models/NetNatRangeSubCommand.cs | 89 +++++++++++++ .../Models/NewNetNatPrerequisite.cs | 25 +++- .../Models/SelectionWindowModel.cs | 35 ++++- .../Properties/Resources.Designer.cs | 45 +++++++ WgServerforWindows/Properties/Resources.resx | 15 +++ 8 files changed, 301 insertions(+), 41 deletions(-) create mode 100644 WgServerforWindows/Models/NetNatRangeSubCommand.cs diff --git a/WgServerforWindows/Controls/SelectionWindow.xaml b/WgServerforWindows/Controls/SelectionWindow.xaml index 8ba7997..0b38115 100644 --- a/WgServerforWindows/Controls/SelectionWindow.xaml +++ b/WgServerforWindows/Controls/SelectionWindow.xaml @@ -1,35 +1,55 @@ - + - - - + + + - - - - + + + + + + - + - +