From 52c028cc8a92ad6521f45561cfdb0caf0f3cd72c Mon Sep 17 00:00:00 2001 From: Elias Fierke Date: Thu, 9 Oct 2025 10:26:28 +0200 Subject: [PATCH] [chore:] added link to git --- MainWindow.axaml | 2 +- MainWindow.axaml.cs | 21 ++++++++++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/MainWindow.axaml b/MainWindow.axaml index 823fbd3..1373517 100644 --- a/MainWindow.axaml +++ b/MainWindow.axaml @@ -16,7 +16,7 @@ - + diff --git a/MainWindow.axaml.cs b/MainWindow.axaml.cs index a7a84dd..40531cc 100644 --- a/MainWindow.axaml.cs +++ b/MainWindow.axaml.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Diagnostics; using System.IO; using System.Threading.Tasks; using Avalonia.Controls; @@ -74,19 +75,25 @@ public partial class MainWindow : Window throw new NotImplementedException(); } - private void MnuSettings_OnClick(object? sender, RoutedEventArgs e) - { - throw new NotImplementedException(); - } - private void MnuHelp_OnClick(object? sender, RoutedEventArgs e) { throw new NotImplementedException(); } - private void MnuGithub_OnClick(object? sender, RoutedEventArgs e) + private void MnuGit_OnClick(object? sender, RoutedEventArgs e) { - throw new NotImplementedException(); + try + { + Process.Start(new ProcessStartInfo + { + FileName = "https://git.mypapercloud.de/fierke/logofclient", + UseShellExecute = true // Wichtig für Plattformübergreifendes Öffnen + }); + } + catch (Exception ex) + { + Console.WriteLine($"Fehler beim Öffnen des Links: {ex.Message}"); + } } private async void BtnChooseFile_OnClick(object? sender, RoutedEventArgs e)