[This is preliminary documentation and is subject to change.]

Raised when an application command is received by form

Namespace: Tools.WindowsT.FormsT
Assembly: Tools.Win (in Tools.Win.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
[LDescriptionAttribute(typeof(ControlsWin), "ApplicationCommand_d", 
	"")]
[KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories.Action)]
public event EventHandler<ApplicationCommandEventArgs> ApplicationCommand
Visual Basic
<LDescriptionAttribute(GetType(ControlsWin), "ApplicationCommand_d",  _
	"")> _
<KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories.Action)> _
Public Event ApplicationCommand As EventHandler(Of ApplicationCommandEventArgs)
Visual C++
[LDescriptionAttribute(typeof(ControlsWin), L"ApplicationCommand_d", 
	L"")]
[KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories::Action)]
public:
 event EventHandler<ApplicationCommandEventArgs^>^ ApplicationCommand {
	void add (EventHandler<ApplicationCommandEventArgs^>^ value);
	void remove (EventHandler<ApplicationCommandEventArgs^>^ value);
}
F#
[<LDescriptionAttribute(typeof(ControlsWin), "ApplicationCommand_d", 
    "")>]
[<KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories.Action)>]
member ApplicationCommand : IEvent<EventHandler<ApplicationCommandEventArgs>,
    ApplicationCommandEventArgs>
JScript
JScript does not support events.

Remarks

When form ius not foreground it receives the event only when there is no other application that handles it.

See Also