Metodo UtilityRunCommandMenuItem
|
Esegue il comando abbinato alla voce di menu cliccata e poi lo restituisce.
Namespace:
DedNet.Core
Assembly:
DedNet (in DedNet.dll) Versione: 22.4.2.0 (22.4.2.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
- Tipo: System.Windows.FormsIWin32Window
Parent Form. - context
- Tipo: DedNet.CommandsDedCommandContext
Contesto di esecuzione. - item
- Tipo: BarButtonItem
Elemento selezionato dal menu.
Valore di ritorno
Tipo:
DedCommandVedi anche