add Screenshot
This commit is contained in:
1 parent
08ae754ea3
commit
46b1297aa7
28 files changed
+923
-100
No files matched your search
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace HandyControl.Controls
|
||||
{
|
||||
public class Screenshot
|
||||
{
|
||||
public event EventHandler Snapped;
|
||||
|
||||
public ImageSource Source { get; set; }
|
||||
|
||||
public void Start() => new ScreenshotWindow(this).Show();
|
||||
|
||||
internal void OnSnapped() => Snapped?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user