SingleInstance Class |
Namespace: ShellBoost.Core.Utilities
public sealed class SingleInstance
The SingleInstance type exposes the following members.
Name | Description | |
---|---|---|
SingleInstance |
Initializes a new instance of the SingleInstance class.
|
Name | Description | |
---|---|---|
Message |
Gets the single instance Windows message.
| |
Mutex |
Gets the single instance mutex.
|
Name | Description | |
---|---|---|
ActivateWindow |
Activates the window.
| |
OnWndProc(Form, Message, Boolean) |
The WNDPROC delegate for Winforms applications.
| |
OnWndProc(Form, Int32, IntPtr, IntPtr, Boolean) |
The WNDPROC delegate for Winforms applications.
| |
OnWndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean, Boolean, Boolean) |
The WNDPROC delegate for WPF applications.
| |
ReleaseMutex |
Releases the mutex.
| |
RunFirstInstance(Action) |
Runs the first application instance.
| |
RunFirstInstance(Action, IntPtr, IntPtr) |
Runs the first application instance.
| |
WaitForMutex(IntPtr, IntPtr) |
Waits for the mutex.
| |
WaitForMutex(Boolean, IntPtr, IntPtr) |
Waits for the mutex.
|