Metodo UtilityRunCommandMenuItem
|
Esegue il comando abbinato alla voce di menu cliccata e poi lo restituisce.
Namespace: DedNet.CoreAssembly: DedNet (in DedNet.dll) Versione: 27.1.0
Sintassi public static DedCommand RunCommandMenuItem(
IWin32Window ownerForm,
DedCommandContext context,
BarButtonItem item
)
Public Shared Function RunCommandMenuItem (
ownerForm As IWin32Window,
context As DedCommandContext,
item As BarButtonItem
) As DedCommand
public:
static DedCommand^ RunCommandMenuItem(
IWin32Window^ ownerForm,
DedCommandContext^ context,
BarButtonItem^ item
)
static member RunCommandMenuItem :
ownerForm : IWin32Window *
context : DedCommandContext *
item : BarButtonItem -> DedCommand
Parametri
- ownerForm IWin32Window
- Parent Form.
- context DedCommandContext
- Contesto di esecuzione.
- item BarButtonItem
- Elemento selezionato dal menu.
Valore di ritorno
DedCommandVedi anche