public void ShowFirstInstance() { WindowApiHelper.PostMessage((IntPtr)WindowApiHelper.HWND_BROADCAST, WM_SHOWFIRSTINSTANCE, IntPtr.Zero, IntPtr.Zero); }
public SingleInstanceHelper() { WM_SHOWFIRSTINSTANCE = WindowApiHelper.RegisterWindowMessage("WM_SHOWFIRSTINSTANCE|{0}", AssemblyIdentifier()); }