Renamed Katteker.Gui to Katteker.UserInterface.

This commit is contained in:
Holger Boerchers
2018-06-16 09:45:56 +02:00
parent 3aebff4e6d
commit ebc776459d
10 changed files with 54 additions and 54 deletions

View File

@@ -3,39 +3,39 @@ using System.Runtime.InteropServices;
// ReSharper disable InconsistentNaming
namespace Katteker.Gui
namespace Katteker
{
/// <summary>
/// Native methods.
/// </summary>
public static class NativeMethods
internal static class NativeMethods
{
/// <summary>
/// Hit Test Caption
/// </summary>
public const int HTCAPTION = 0x2;
internal const int HTCAPTION = 0x2;
/// <summary>
/// Posted when the user presses the left mouse button while the cursor is within the nonclient area of a window.
/// </summary>
public const int WM_NCLBUTTONDOWN = 0xA1;
internal const int WM_NCLBUTTONDOWN = 0xA1;
/// <summary>
/// Release the capture
/// </summary>
[DllImport("User32.dll")]
public static extern bool ReleaseCapture();
internal static extern bool ReleaseCapture();
/// <summary>
/// Send message
/// </summary>
[DllImport("User32.dll")]
public static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam);
internal static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam);
/// <summary>
/// Set Process API aware
/// </summary>
[DllImport("user32.dll")]
public static extern bool SetProcessDPIAware();
internal static extern bool SetProcessDPIAware();
}
}