From fcb8b04292864526836aa6ca016f924f09b0fe7e Mon Sep 17 00:00:00 2001 From: DJh2o2 Date: Wed, 9 Mar 2022 14:15:56 +0100 Subject: [PATCH] showing of Totals possible --- .../GUClasses/DataIdentificator.cs | 2 +- Gremlin/MVVM/MainWindow.xaml.cs | 4 +- Gremlin/MVVM/QuoteUI.xaml | 113 ------------- Gremlin/MVVM/QuoteUI.xaml.cs | 159 ------------------ Gremlin/MVVM/ViewModels/QuoteViewModel.cs | 14 +- Gremlin/MVVM/ViewModels/ShellViewModel.cs | 3 + Gremlin/MVVM/Views/QuoteView.xaml | 83 +++++---- 7 files changed, 55 insertions(+), 323 deletions(-) delete mode 100644 Gremlin/MVVM/QuoteUI.xaml delete mode 100644 Gremlin/MVVM/QuoteUI.xaml.cs diff --git a/Gremlin/GremlinUtilities/GUClasses/DataIdentificator.cs b/Gremlin/GremlinUtilities/GUClasses/DataIdentificator.cs index 0447354..4b9f178 100644 --- a/Gremlin/GremlinUtilities/GUClasses/DataIdentificator.cs +++ b/Gremlin/GremlinUtilities/GUClasses/DataIdentificator.cs @@ -154,7 +154,7 @@ namespace Gremlin.GremlinUtilities.GUClasses return winners; } - public List ReadDataIdentifierFromFile() + public static List ReadDataIdentifierFromFile() { List result = new(50); string fileInput = FileIO.ReadResource("DataIdentifier.txt"); diff --git a/Gremlin/MVVM/MainWindow.xaml.cs b/Gremlin/MVVM/MainWindow.xaml.cs index a0562ae..c0e6b98 100644 --- a/Gremlin/MVVM/MainWindow.xaml.cs +++ b/Gremlin/MVVM/MainWindow.xaml.cs @@ -103,8 +103,8 @@ namespace Gremlin.MVVM private void BtnQuoteUI_Click(object sender, RoutedEventArgs e) { - QuoteUI quoteUI = new(); - _ = quoteUI.ShowDialog(); + //ShellView shellView = new(); + //shellView.ShowDialog(); } private void BtnShowAccountList_Click(object sender, RoutedEventArgs e) diff --git a/Gremlin/MVVM/QuoteUI.xaml b/Gremlin/MVVM/QuoteUI.xaml deleted file mode 100644 index 230f3c3..0000000 --- a/Gremlin/MVVM/QuoteUI.xaml +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -