Click or drag to resize

SingleInstance Methods

The SingleInstance type exposes the following members.

Methods
  NameDescription
Public methodStatic memberActivateWindow
Activates the window.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodOnWndProc(Form, Message, Boolean)
The WNDPROC delegate for Winforms applications.
Public methodOnWndProc(Form, Int32, IntPtr, IntPtr, Boolean)
The WNDPROC delegate for Winforms applications.
Public methodOnWndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean, Boolean, Boolean)
The WNDPROC delegate for WPF applications.
Public methodReleaseMutex
Releases the mutex.
Public methodRunFirstInstance(Action)
Runs the first application instance.
Public methodRunFirstInstance(Action, IntPtr, IntPtr)
Runs the first application instance.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWaitForMutex(IntPtr, IntPtr)
Waits for the mutex.
Public methodWaitForMutex(Boolean, IntPtr, IntPtr)
Waits for the mutex.
Top
See Also