Projektdateien hinzufügen.
This commit is contained in:
47
Valheim Mod Sync Desktop/Crash.xaml.cs
Normal file
47
Valheim Mod Sync Desktop/Crash.xaml.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user