using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KMBIM.Revit.Tools.Utils { public class WindowWrapper : System.Windows.Forms.IWin32Window { private IntPtr _hwnd; public WindowWrapper(IntPtr handle) { Debug.Assert(IntPtr.Zero != handle, "expected non-null window handle"); _hwnd = handle; } public IntPtr Handle { get { return _hwnd; } } } }