add Magnifier for Screenshot

This commit is contained in:
NaBian committed 2020-03-15 22:31:48 +08:00
1 parent 8124dedce2
commit 6ee123a34a
5 files changed
+153 -44

No files matched your search

@@ -80,7 +80,10 @@ namespace HandyControl.Controls
{
if (d is System.Windows.Window window)
{
if ((bool)e.NewValue)
var v = (bool) e.NewValue;
window.SetCurrentValue(System.Windows.Window.ShowInTaskbarProperty, v);
if (v)
{
window.SourceInitialized -= Window_SourceInitialized;
}