2020-07-08 03:05:19 +12:00
|
|
|
|
// <copyright file="WindowWrapper.cs" company="PlaceholderCompany">
|
|
|
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
|
|
|
// </copyright>
|
|
|
|
|
|
|
|
|
|
namespace SystemTrayMenu.UserInterface.FolderBrowseDialog
|
|
|
|
|
{
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
public class WindowWrapper : System.Windows.Forms.IWin32Window
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Initializes a new instance of the <see cref="WindowWrapper"/> class.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="handle">Handle to wrap.</param>
|
|
|
|
|
public WindowWrapper(IntPtr handle)
|
|
|
|
|
{
|
2021-10-24 03:27:53 +13:00
|
|
|
|
Handle = handle;
|
2020-07-08 03:05:19 +12:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets original ptr.
|
|
|
|
|
/// </summary>
|
2021-10-24 03:27:53 +13:00
|
|
|
|
public IntPtr Handle { get; }
|
2020-07-08 03:05:19 +12:00
|
|
|
|
}
|
|
|
|
|
}
|