Skip to content

Commit

Permalink
Update MainWindow.xaml.cs
Browse files Browse the repository at this point in the history
Enhanced Code
  • Loading branch information
Jisll authored Jul 9, 2022
1 parent faf3f1a commit 28204fb
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions Sadcoy/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,22 +63,16 @@ private void RunSw_Click(object sender, RoutedEventArgs e)
}

private void Exit_Click(object sender, RoutedEventArgs e)
{
this.Close();
}
=> this.Close();

private void Border_MouseDown(object sender, MouseButtonEventArgs e)
{
this.DragMove();
}
=> this.DragMove();

private void SupportMe_Click(object sender, RoutedEventArgs e)
{
System.Diagnostics.Process.Start(new ProcessStartInfo
=> System.Diagnostics.Process.Start(new ProcessStartInfo
{
FileName = "https://github.com/Jisll/Sadcoy",
UseShellExecute = true
});
}
}
}

0 comments on commit 28204fb

Please sign in to comment.