Skip to content

Commit 28204fb

Browse files
authored
Update MainWindow.xaml.cs
Enhanced Code
1 parent faf3f1a commit 28204fb

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

Sadcoy/MainWindow.xaml.cs

+3-9
Original file line numberDiff line numberDiff line change
@@ -63,22 +63,16 @@ private void RunSw_Click(object sender, RoutedEventArgs e)
6363
}
6464

6565
private void Exit_Click(object sender, RoutedEventArgs e)
66-
{
67-
this.Close();
68-
}
66+
=> this.Close();
6967

7068
private void Border_MouseDown(object sender, MouseButtonEventArgs e)
71-
{
72-
this.DragMove();
73-
}
69+
=> this.DragMove();
7470

7571
private void SupportMe_Click(object sender, RoutedEventArgs e)
76-
{
77-
System.Diagnostics.Process.Start(new ProcessStartInfo
72+
=> System.Diagnostics.Process.Start(new ProcessStartInfo
7873
{
7974
FileName = "https://github.com/Jisll/Sadcoy",
8075
UseShellExecute = true
8176
});
82-
}
8377
}
8478
}

0 commit comments

Comments
 (0)