48 lines
1.1 KiB
C#
48 lines
1.1 KiB
C#
using System.Diagnostics;
|
|
using System.Threading.Tasks;
|
|
using System.Windows;
|
|
using System.Windows.Input;
|
|
|
|
namespace Valheim_Mod_Sync_Desktop
|
|
{
|
|
/// <summary>
|
|
/// Interaktionslogik für Benachrichtigung.xaml
|
|
/// </summary>
|
|
public partial class Crash : Window
|
|
{
|
|
public Crash()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void SendReportButton_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
DialogResult = true;
|
|
}
|
|
|
|
private void CancelButton_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
DialogResult = false;
|
|
}
|
|
|
|
//Close Button
|
|
private void exitBtn_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
|
|
{
|
|
this.Close();
|
|
|
|
}
|
|
|
|
//Minimize Button
|
|
private void miniBtn_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
|
|
{
|
|
this.WindowState = WindowState.Minimized;
|
|
}
|
|
|
|
//Header Move
|
|
private void header_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
|
|
{
|
|
this.DragMove();
|
|
}
|
|
}
|
|
}
|