Files
mirror-processhacker/trunk/ProcessHacker/UI/WindowFromHandle.cs
T
wj32 15180b9956 Elevation button in Options now spawns a child options window instead of restarting Process Hacker elevated
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1066 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-15 10:42:19 +00:00

23 lines
429 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace ProcessHacker.UI
{
public class WindowFromHandle : IWin32Window
{
private IntPtr _handle;
public WindowFromHandle(IntPtr handle)
{
_handle = handle;
}
public IntPtr Handle
{
get { return _handle; }
}
}
}