mirror of
https://github.com/Tichau/FileConverter.git
synced 2026-11-23 02:52:10 +01:00
In case the user launch the application without using the context menu it launch a window to help him.
30 lines
793 B
C#
30 lines
793 B
C#
// <copyright file="ApplicationStartHelp.xaml.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
|
|
|
|
namespace FileConverter.Windows
|
|
{
|
|
using System;
|
|
using System.Windows;
|
|
|
|
public partial class ApplicationStartHelp : Window
|
|
{
|
|
public ApplicationStartHelp()
|
|
{
|
|
this.InitializeComponent();
|
|
}
|
|
|
|
public static FileConverter.Version ApplicationVersion
|
|
{
|
|
get
|
|
{
|
|
return FileConverter.Application.ApplicationVersion;
|
|
}
|
|
}
|
|
|
|
private void OkButton_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
this.Close();
|
|
Dispatcher.BeginInvoke((Action)(() => Application.Current.Shutdown()));
|
|
}
|
|
}
|
|
}
|