Removed NativeMethods - not used as we allow multiple instances now; changed tray icon hover text

This commit is contained in:
szporowolik
2019-10-20 13:40:53 +02:00
parent c35c216c78
commit 2ad1a531b8
4 changed files with 4 additions and 25 deletions

View File

@@ -1,13 +0,0 @@
// This class just wraps some Win32 stuff that we're going to use for blocking of multiple instances
using System;
using System.Runtime.InteropServices;
internal class NativeMethods
{
public const int HWND_BROADCAST = 0xffff;
public static readonly int WM_SHOWME = RegisterWindowMessage("WM_SHOWME");
[DllImport("user32")]
public static extern bool PostMessage(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam);
[DllImport("user32")]
public static extern int RegisterWindowMessage(string message);
}