From 8d61fdd35e2aae2dc45dcad89f69145bb7fd68c2 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Sat, 11 Mar 2023 15:29:35 +0100 Subject: [PATCH] Renamed RoutedEventArgs e to RoutedEventArgs evt --- WGneu/App.xaml.cs | 10 +-- WGneu/Windows/ContractListWindow.xaml.cs | 11 +-- WGneu/Windows/DeliveryReceptionWindow.xaml.cs | 14 +--- WGneu/Windows/DocumentViewerWindow.xaml.cs | 13 +--- WGneu/Windows/MainWindow.xaml.cs | 28 +++---- WGneu/Windows/MemberListWindow.xaml.cs | 78 ++++++++----------- 6 files changed, 51 insertions(+), 103 deletions(-) diff --git a/WGneu/App.xaml.cs b/WGneu/App.xaml.cs index 5afc810..81a3a22 100644 --- a/WGneu/App.xaml.cs +++ b/WGneu/App.xaml.cs @@ -21,22 +21,22 @@ namespace WGneu { MainDispatcher = Dispatcher; } - protected override void OnStartup(StartupEventArgs e) { + protected override void OnStartup(StartupEventArgs evt) { Utils.RunBackground("HTML Initialization", () => Documents.Html.Init(PrintingReadyChanged)); Utils.RunBackground("PDF Initialization", () => Documents.Pdf.Init(PrintingReadyChanged)); - base.OnStartup(e); + base.OnStartup(evt); } - protected override void OnExit(ExitEventArgs e) { + protected override void OnExit(ExitEventArgs evt) { Utils.RunBackground("PDF Close", () => Documents.Pdf.Close()); - base.OnExit(e); + base.OnExit(evt); } private void PrintingReadyChanged() { Dispatcher.BeginInvoke(OnPrintingReadyChanged, new EventArgs()); } - protected void OnPrintingReadyChanged(EventArgs e) { + protected void OnPrintingReadyChanged(EventArgs evt) { foreach (Window w in Windows) { foreach (var b in Utils.FindVisualChilds