refactor Interop classes
This commit is contained in:
1 parent
de5c2e7a6e
commit
a3dd633a66
28 files changed
+948
-976
No files matched your search
@@ -18,7 +18,7 @@ namespace HandyControl.Interactivity
|
||||
var hwndSource = (HwndSource)PresentationSource.FromDependencyObject(Application.Current.MainWindow);
|
||||
if (hwndSource != null)
|
||||
{
|
||||
UnsafeNativeMethods.SetForegroundWindow(hwndSource.Handle);
|
||||
InteropMethods.SetForegroundWindow(hwndSource.Handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user