chore: use file-scoped namespace

This commit is contained in:
NaBian committed 2022-03-13 20:28:58 +08:00
1 parent 99d2fafb72
commit bbf1b7d4c6
748 files changed
+57929 -58678

No files matched your search

@@ -2,14 +2,13 @@
using System.Windows.Media;
using HandyControl.Data;
namespace HandyControl.Controls
namespace HandyControl.Controls;
public class Screenshot
{
public class Screenshot
{
public static event EventHandler<FunctionEventArgs<ImageSource>> Snapped;
public static event EventHandler<FunctionEventArgs<ImageSource>> Snapped;
public void Start() => new ScreenshotWindow(this).Show();
public void Start() => new ScreenshotWindow(this).Show();
internal void OnSnapped(ImageSource source) => Snapped?.Invoke(this, new FunctionEventArgs<ImageSource>(source));
}
}
internal void OnSnapped(ImageSource source) => Snapped?.Invoke(this, new FunctionEventArgs<ImageSource>(source));
}
File diff suppressed because it is too large. Load diff