This commit is contained in:
		
							
								
								
									
										32
									
								
								Elwig/Windows/AboutWindow.xaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								Elwig/Windows/AboutWindow.xaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,32 @@ | ||||
| <Window x:Class="Elwig.Windows.AboutWindow" | ||||
|         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||||
|         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||||
|         xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||||
|         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||||
|         xmlns:local="clr-namespace:Elwig.Windows" | ||||
|         Title="Über - Elwig" Height="340" Width="480" ResizeMode="NoResize"> | ||||
|     <Grid> | ||||
|         <TextBlock Margin="20,10" FontSize="12"> | ||||
|             <Bold>Produkt:</Bold> Elwig<LineBreak/> | ||||
|             <Bold>Beschreibung:</Bold> Elektronische Winzergenossenschaftsveraltung<LineBreak/> | ||||
|             <Bold>Typ:</Bold> Warenwirschaftssystem<LineBreak/> | ||||
|             <Bold>Version:</Bold> <Run x:Name="Version">0.0.0.0</Run> (<Hyperlink NavigateUri="https://elwig.at/changelog" RequestNavigate="Hyperlink_RequestNavigate">Änderungsprotokoll</Hyperlink>)<LineBreak/> | ||||
|             <Bold>Lizenz:</Bold> <Hyperlink NavigateUri="https://www.gnu.org/licenses/gpl-3.0.html" RequestNavigate="Hyperlink_RequestNavigate">GNU General Public License 3.0 (GPLv3)</Hyperlink><LineBreak/> | ||||
|             <Bold>Website:</Bold> <Hyperlink NavigateUri="https://elwig.at/" RequestNavigate="Hyperlink_RequestNavigate">https://elwig.at/</Hyperlink><LineBreak/> | ||||
|             <Bold>Entwickler:</Bold> Lorenz Stechauner, Thomas Hilscher<LineBreak/> | ||||
|             <Bold>Kontakt:</Bold> <Hyperlink NavigateUri="mailto:lorenz.stechauner@necronda.net" RequestNavigate="Hyperlink_RequestNavigate">lorenz.stechauner@necronda.net</Hyperlink>, <Hyperlink NavigateUri="mailto:thomas.hilscher@gmail.com" RequestNavigate="Hyperlink_RequestNavigate">thomas.hilscher@gmail.com</Hyperlink><LineBreak/> | ||||
|             <Bold>Quellcode:</Bold> <Hyperlink NavigateUri="https://git.necronda.net/winzer/elwig" RequestNavigate="Hyperlink_RequestNavigate">https://git.necronda.net/winzer/elwig</Hyperlink><LineBreak/> | ||||
|             <Bold>Entwicklungszeitraum:</Bold> 2022–2025<LineBreak/> | ||||
|             <LineBreak/> | ||||
|             <Bold>Verwendete Technologien:</Bold><LineBreak/> | ||||
|             Programmiersprache: C#<LineBreak/> | ||||
|             Framework: Windows Presentation Framework (WPF)<LineBreak/> | ||||
|             Datenbank: <Hyperlink NavigateUri="https://sqlite.org/" RequestNavigate="Hyperlink_RequestNavigate">SQLite</Hyperlink><LineBreak/> | ||||
|             PDF-Erstellung: <Hyperlink NavigateUri="https://weasyprint.org/" RequestNavigate="Hyperlink_RequestNavigate">WeasyPrint</Hyperlink>, <Hyperlink NavigateUri="https://github.com/toddams/RazorLight" RequestNavigate="Hyperlink_RequestNavigate">RazorLight</Hyperlink>, <Hyperlink NavigateUri="https://github.com/pvginkel/PdfiumViewer" RequestNavigate="Hyperlink_RequestNavigate">PdfiumViewer</Hyperlink><LineBreak/> | ||||
|             Paketierung: <Hyperlink NavigateUri="https://www.firegiant.com/wixtoolset/" RequestNavigate="Hyperlink_RequestNavigate">WiX Toolset</Hyperlink> | ||||
|         </TextBlock> | ||||
|  | ||||
|         <Image Source="\Resources\Images\Elwig.png" RenderOptions.BitmapScalingMode="HighQuality" Height="96" | ||||
|                HorizontalAlignment="Right" Margin="10" VerticalAlignment="Top"/> | ||||
|     </Grid> | ||||
| </Window> | ||||
							
								
								
									
										17
									
								
								Elwig/Windows/AboutWindow.xaml.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								Elwig/Windows/AboutWindow.xaml.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| using System.Diagnostics; | ||||
| using System.Windows; | ||||
| using System.Windows.Navigation; | ||||
|  | ||||
| namespace Elwig.Windows { | ||||
|     public partial class AboutWindow : Window { | ||||
|  | ||||
|         public AboutWindow() { | ||||
|             InitializeComponent(); | ||||
|             Version.Text = App.Version.ToString(); | ||||
|         } | ||||
|  | ||||
|         private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e) { | ||||
|             Process.Start(new ProcessStartInfo(e.Uri.AbsoluteUri) { UseShellExecute = true }); | ||||
|         } | ||||
|     } | ||||
| } | ||||
| @@ -72,7 +72,7 @@ | ||||
|                 </MenuItem> | ||||
|             </MenuItem> | ||||
|             <MenuItem x:Name="HelpMenu" Header="Hilfe"> | ||||
|                 <MenuItem Header="Über"> | ||||
|                 <MenuItem Header="Über" Click="Menu_Help_About_Click"> | ||||
|                     <MenuItem.Icon> | ||||
|                         <TextBlock FontFamily="Segoe MDL2 Assets" FontSize="16" Text=""/> | ||||
|                     </MenuItem.Icon> | ||||
|   | ||||
| @@ -59,6 +59,11 @@ namespace Elwig.Windows { | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private void Menu_Help_About_Click(object sender, RoutedEventArgs evt) { | ||||
|             var w = new AboutWindow(); | ||||
|             w.Show(); | ||||
|         } | ||||
|  | ||||
|         private async void Menu_Help_Update_Click(object sender, RoutedEventArgs evt) { | ||||
|             await App.CheckForUpdates(true); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user