root / trunk / Pithos.Client.WPF / Wpf32Window.cs @ 422c9598
History | View | Annotate | Download (468 Bytes)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Text; |
5 |
using System.Windows; |
6 |
using System.Windows.Interop; |
7 |
using IWin32Window = System.Windows.Forms.IWin32Window; |
8 |
|
9 |
|
10 |
namespace Pithos.Client.WPF |
11 |
{ |
12 |
public class Wpf32Window : IWin32Window |
13 |
{ |
14 |
public IntPtr Handle { get; private set; } |
15 |
|
16 |
public Wpf32Window(Window wpfWindow) |
17 |
{ |
18 |
Handle = new WindowInteropHelper(wpfWindow).Handle; |
19 |
} |
20 |
} |
21 |
} |