Cmd

public static class Cmd
Static creation methods for Eto.Forms.Command types.

Methods

Create

#
public static Command Create(string text, string tooltip, EventHandler<EventArgs> handler, Keys shortcut)
Create a new command.
text (string)Command text.
tooltip (string)Command tooltip.
handler (EventHandler<EventArgs>)Command handler.
shortcut (Keys)Shotcut key.
Command.

Create

#
public static Command Create(string text, string tooltip, EventHandler<EventArgs> handler, object argument, Keys shortcut)
Create a new command.
text (string)Command text.
tooltip (string)Command tooltip.
handler (EventHandler<EventArgs>)Command handler.
argument (object)Command argument.
shortcut (Keys)Shotcut key.
Command.

Create

#
public static Command Create(string text, string tooltip, EventHandler<EventArgs> handler, object argument)
Create a new command.
text (string)Command text.
tooltip (string)Command tooltip.
handler (EventHandler<EventArgs>)Command handler.
argument (object)Command argument.
Command.

Create

#
public static Command Create(string text, string tooltip, EventHandler<EventArgs> handler)
Create a new command.
text (string)Command text.
tooltip (string)Command tooltip.
handler (EventHandler<EventArgs>)Command handler.
Command.

CreateCheck

#
public static CheckCommand CreateCheck(string text, string tooltip, bool state, EventHandler<EventArgs> handler, object argument)
Create a new checkcommand.
text (string)Command text.
tooltip (string)Command tooltip.
state (bool)Checked state.
handler (EventHandler<EventArgs>)Command handler.
argument (object)Command argument.
Command.

CreateCheck

#
public static CheckCommand CreateCheck(string text, string tooltip, bool state, EventHandler<EventArgs> handler)
Create a new checkcommand.
text (string)Command text.
tooltip (string)Command tooltip.
state (bool)Checked state.
handler (EventHandler<EventArgs>)Command handler.
Command.

CreateRadio

#
public static RadioCommand CreateRadio(string text, string tooltip, bool state, EventHandler<EventArgs> handler, object argument)
Create a new radiocommand.
text (string)Command text.
tooltip (string)Command tooltip.
state (bool)Checked state.
handler (EventHandler<EventArgs>)Command handler.
argument (object)Command argument.
Command.

CreateRadio

#
public static RadioCommand CreateRadio(string text, string tooltip, bool state, EventHandler<EventArgs> handler)
Create a new radiocommand.
text (string)Command text.
tooltip (string)Command tooltip.
state (bool)Checked state.
handler (EventHandler<EventArgs>)Command handler.
Command.