From a526c7f01fa78c0285f32417a8c401c4b93787ac Mon Sep 17 00:00:00 2001 From: Jonas Arnold Date: Thu, 15 Dec 2022 18:08:52 +0100 Subject: [PATCH] implemented automatically saved settings in UI, implemented config of splitflap hw ids and display splitflap message --- ADIS_Csharp/RobotClientWpf/App.config | 15 +++++ ADIS_Csharp/RobotClientWpf/MainWindow.xaml | 16 ++--- ADIS_Csharp/RobotClientWpf/MainWindow.xaml.cs | 45 +++++++++++++- .../RobotClientWpf/RobotClientWpf.csproj | 12 ++++ .../RobotClientWpf/Views/ConfigView.xaml | 23 +++++++- .../RobotClientWpf/Views/ConfigView.xaml.cs | 59 +++++++++++++++---- .../RobotClientWpf/Views/MainView.xaml | 13 +++- .../RobotClientWpf/Views/MainView.xaml.cs | 29 +++++---- 8 files changed, 176 insertions(+), 36 deletions(-) create mode 100644 ADIS_Csharp/RobotClientWpf/App.config diff --git a/ADIS_Csharp/RobotClientWpf/App.config b/ADIS_Csharp/RobotClientWpf/App.config new file mode 100644 index 0000000..3c63dea --- /dev/null +++ b/ADIS_Csharp/RobotClientWpf/App.config @@ -0,0 +1,15 @@ + + + + +
+ + + + + + + + + + \ No newline at end of file diff --git a/ADIS_Csharp/RobotClientWpf/MainWindow.xaml b/ADIS_Csharp/RobotClientWpf/MainWindow.xaml index f301bf1..16c7d40 100644 --- a/ADIS_Csharp/RobotClientWpf/MainWindow.xaml +++ b/ADIS_Csharp/RobotClientWpf/MainWindow.xaml @@ -7,22 +7,22 @@ xmlns:views="clr-namespace:RobotClientWpf.Views" xmlns:dj="clr-namespace:DJ;assembly=NLogViewer" mc:Ignorable="d" FontSize="15" - Title="Challenge UI" Height="700" Width="1200" WindowStartupLocation="CenterScreen" ResizeMode="NoResize"> + Title="Challenge UI" Height="700" Width="1200" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" Closing="Window_Closing" Loaded="Window_Loaded"> - + - + 192.168.156.156 - +