From f2f8b027a45b9d9f6428e8b8787ea97f0cf971d8 Mon Sep 17 00:00:00 2001 From: Dominic Saladin Date: Mon, 4 Mar 2024 22:19:46 +0100 Subject: [PATCH] Add editor suggestions --- speed-time/Dialogs/TrackTimeEditor.xaml | 75 ++++++++-- speed-time/Dialogs/TrackTimeEditor.xaml.cs | 139 +++++++++++++++++- speed-time/MainWindow.xaml | 3 +- .../ViewModel/QuickTimeTrackerViewModel.cs | 3 + speed-time/speed-time.csproj | 2 +- 5 files changed, 208 insertions(+), 14 deletions(-) diff --git a/speed-time/Dialogs/TrackTimeEditor.xaml b/speed-time/Dialogs/TrackTimeEditor.xaml index 968a5da..dc0496e 100644 --- a/speed-time/Dialogs/TrackTimeEditor.xaml +++ b/speed-time/Dialogs/TrackTimeEditor.xaml @@ -3,16 +3,50 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:behaviors="http://schemas.microsoft.com/xaml/behaviors" xmlns:potato="https://dsaladin.dev/products/fancypotato/wpf/xaml" + xmlns:localBehaviors="clr-namespace:DSaladin.SpeedTime.Behavior" xmlns:fa="https://dsaladin.dev/products/fontawesome/wpf/xaml" xmlns:converter="clr-namespace:DSaladin.SpeedTime.Converter" xmlns:language="clr-namespace:DSaladin.SpeedTime.Language" + xmlns:model="clr-namespace:DSaladin.SpeedTime.Model" xmlns:local="clr-namespace:DSaladin.SpeedTime.Dialogs" d:DataContext="{d:DesignInstance local:TrackTimeEditor}" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="450" MaxHeight="300" MaxWidth="400"> + + + + + + + + + + + + + + + + + + + @@ -37,7 +71,7 @@ Click="Close_Click" />