mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
e43aec1c5e
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4778 21ef857c-d57f-4fe0-8362-d861dc6d29cd
21 lines
384 B
C#
21 lines
384 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
|
|
namespace ProcessHacker.UI
|
|
{
|
|
public struct WindowFromHandle : IWin32Window
|
|
{
|
|
private readonly IntPtr _handle;
|
|
|
|
public WindowFromHandle(IntPtr handle)
|
|
{
|
|
_handle = handle;
|
|
}
|
|
|
|
public IntPtr Handle
|
|
{
|
|
get { return _handle; }
|
|
}
|
|
}
|
|
}
|