Handles a System Hotkey
| C# |
public class SystemHotkey : Component, IDisposable
| All Members | Constructors | Methods | Properties | Events | |
| Icon | Member | Description |
|---|---|---|
| SystemHotkey(IContainer) |
ctor
| |
| SystemHotkey()()() |
Ctor
| |
| CanRaiseEvents |
Gets a value indicating whether the component can raise an event.
(Inherited from Component.) | |
| Container |
Gets the IContainer that contains the Component.
(Inherited from Component.) | |
| CreateObjRef(Type) |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.) | |
| DesignMode |
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.) | |
| Dispose()()() |
Disposes control
| |
| Dispose(Boolean) |
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
(Inherited from Component.) | |
| Disposed |
Occurs when the component is disposed by a call to the Dispose()()() method.
(Inherited from Component.) | |
| Equals(Object) | (Inherited from Object.) | |
| Error |
Event raised when hotkey registration results in an error
| |
| Events |
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.) | |
| Finalize()()() |
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetKeyString(Keys) |
Gets a string value for the specified key
| |
| GetKeyString(Int32) |
Gets a string value for the specified key
| |
| GetLifetimeService()()() |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
| GetService(Type) | (Inherited from Component.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| InitializeLifetimeService()()() |
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
| IsRegistered |
Whether the hotkey has been registered
| |
| MemberwiseClone(Boolean) |
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.) | |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| OnError(ShortcutEventArgs) |
Raises Error event
| |
| OnPressed(ShortcutEventArgs) |
Raises Pressed event
| |
| Pressed |
Event raised when the hotkey is pressed
| |
| RegisterHotkey(Keys) |
Registers the hotkey in the system
| |
| Shortcut |
Shortcut keys for this hotkey
| |
| Site | (Inherited from Component.) | |
| Tag |
User defined tag
| |
| ToString()()() |
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.) | |
| UnregisterHotkey()()() |
Unregisters the hotkey from the system
|
| Object | |||
| MarshalByRefObject | |||
| Component | |||
| SystemHotkey | |||