File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Samples/Islands/WpfCalculator/CalculatorDemo Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
- using Microsoft . UI . Composition ;
2
- using Microsoft . UI . Content ;
1
+ using System ;
3
2
using System . Runtime . InteropServices ;
4
3
using System . Windows . Interop ;
5
4
5
+ using Microsoft . UI ;
6
+ using Microsoft . UI . Composition ;
7
+ using Microsoft . UI . Content ;
8
+
6
9
namespace CalculatorDemo
7
10
{
8
11
internal class WpfIslandHost : HwndHost
@@ -39,7 +42,8 @@ protected override void DestroyWindowCore(HandleRef hwnd)
39
42
40
43
Microsoft . UI . Composition . Compositor _compositor ;
41
44
42
- #region P/Invokes
45
+ #region P/Invokes
46
+
43
47
const int GWL_EXSTYLE = - 20 ;
44
48
const int WS_EX_LAYERED = 0x00080000 ;
45
49
@@ -54,6 +58,7 @@ public static extern bool SetWindowLongPtr(
54
58
IntPtr hWnd ,
55
59
int nIndex ,
56
60
IntPtr dwNewLong ) ;
57
- #endregion
61
+
62
+ #endregion
58
63
}
59
64
}
You can’t perform that action at this time.
0 commit comments