diff --git a/DesktopClock/SettingsWindow.xaml b/DesktopClock/SettingsWindow.xaml index 5eae2e6..2616988 100644 --- a/DesktopClock/SettingsWindow.xaml +++ b/DesktopClock/SettingsWindow.xaml @@ -199,5 +199,96 @@ Margin="0,0,0,12" /> + + + + Shortcuts + + + Right-click: + Open the context menu + + Double-click: + Copy clock text to clipboard + + Ctrl and Mouse Wheel: + Zoom + + Ctrl and +: + Zoom in + + Ctrl and -: + Zoom out + + + Links + + + + GitHub Releases (Check for updates) + + + + + GitHub Issues (Found a bug or have an idea?) + + + + + JournalApp - Write notes and keep track of your day (Android). + + + + + Network Monitor - View latency and bandwidth usage (Windows). + + + + + Credits + + + + CommunityToolkit + + + + + Costura.Fody + + + + + H.NotifyIcon.Wpf + + + + + Humanizer + + + + + Newtonsoft.Json + + + + + PropertyChanged.Fody + + + + + WpfWindowPlacement + + + + + Clock icon + + + + + diff --git a/DesktopClock/SettingsWindow.xaml.cs b/DesktopClock/SettingsWindow.xaml.cs index 5934613..e5523cf 100644 --- a/DesktopClock/SettingsWindow.xaml.cs +++ b/DesktopClock/SettingsWindow.xaml.cs @@ -1,9 +1,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Media; +using System.Windows.Navigation; using CommunityToolkit.Mvvm.ComponentModel; using CommunityToolkit.Mvvm.Input; using DesktopClock.Properties; @@ -62,6 +64,12 @@ private void BrowseWavFilePath(object sender, RoutedEventArgs e) ViewModel.Settings.WavFilePath = openFileDialog.FileName; } + + private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e) + { + Process.Start(new ProcessStartInfo(e.Uri.AbsoluteUri) { UseShellExecute = true }); + e.Handled = true; + } } public partial class SettingsWindowViewModel : ObservableObject