Files
FileConverter/Application/FileConverter/Windows/ApplicationStartHelp.xaml.cs
T
Tichau 42ccbdb8fa Add application start help
In case the user launch the application without using the context menu
it launch a window to help him.
2016-01-10 21:42:05 +01:00

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()));
}
}
}