C# Class SidebarLibrary.Menus.MenuCommand

Inheritance: System.ComponentModel.Component
显示文件 Open project: sillsdev/FieldWorks Class Usage Examples

Protected Properties

Property Type Description
_break bool
_checked bool
comboBox System.Windows.Forms.ComboBox
enabled bool
image System.Drawing.Bitmap
imageIndex int
imageList System.Windows.Forms.ImageList
infrequent bool
menuItems SidebarLibrary.Collections.MenuCommandCollection
radioCheck bool
realOwner Object
shortcut Shortcut
text string
userData object
visible bool

Private Properties

Property Type Description

Public Methods

Method Description
MenuCommand ( ) : System
MenuCommand ( ComboBox comboBox ) : System
MenuCommand ( string text ) : System
MenuCommand ( string text, Bitmap bitmap, Shortcut shortcut, EventHandler clickHandler, Object realOwner ) : System
MenuCommand ( string text, EventHandler clickHandler ) : System
MenuCommand ( string text, ImageList imageList, int imageIndex ) : System
MenuCommand ( string text, ImageList imageList, int imageIndex, Shortcut shortcut ) : System
MenuCommand ( string text, ImageList imageList, int imageIndex, Shortcut shortcut, EventHandler clickHandler ) : System
MenuCommand ( string text, Shortcut shortcut ) : System
MenuCommand ( string text, Shortcut shortcut, EventHandler clickHandler ) : System
OnClick ( EventArgs e ) : void
OnUpdate ( EventArgs e ) : void

Protected Methods

Method Description
InternalConstruct ( string text, ImageList imageList, int imageIndex, Shortcut shortcut, EventHandler clickHandler, Bitmap bitmap, object realOwner ) : void

Method Details

InternalConstruct() protected method

protected InternalConstruct ( string text, ImageList imageList, int imageIndex, Shortcut shortcut, EventHandler clickHandler, Bitmap bitmap, object realOwner ) : void
text string
imageList System.Windows.Forms.ImageList
imageIndex int
shortcut Shortcut
clickHandler EventHandler
bitmap System.Drawing.Bitmap
realOwner object
return void

MenuCommand() public method

public MenuCommand ( ) : System
return System

MenuCommand() public method

public MenuCommand ( ComboBox comboBox ) : System
comboBox System.Windows.Forms.ComboBox
return System

MenuCommand() public method

public MenuCommand ( string text ) : System
text string
return System

MenuCommand() public method

public MenuCommand ( string text, Bitmap bitmap, Shortcut shortcut, EventHandler clickHandler, Object realOwner ) : System
text string
bitmap System.Drawing.Bitmap
shortcut Shortcut
clickHandler EventHandler
realOwner Object
return System

MenuCommand() public method

public MenuCommand ( string text, EventHandler clickHandler ) : System
text string
clickHandler EventHandler
return System

MenuCommand() public method

public MenuCommand ( string text, ImageList imageList, int imageIndex ) : System
text string
imageList System.Windows.Forms.ImageList
imageIndex int
return System

MenuCommand() public method

public MenuCommand ( string text, ImageList imageList, int imageIndex, Shortcut shortcut ) : System
text string
imageList System.Windows.Forms.ImageList
imageIndex int
shortcut Shortcut
return System

MenuCommand() public method

public MenuCommand ( string text, ImageList imageList, int imageIndex, Shortcut shortcut, EventHandler clickHandler ) : System
text string
imageList System.Windows.Forms.ImageList
imageIndex int
shortcut Shortcut
clickHandler EventHandler
return System

MenuCommand() public method

public MenuCommand ( string text, Shortcut shortcut ) : System
text string
shortcut Shortcut
return System

MenuCommand() public method

public MenuCommand ( string text, Shortcut shortcut, EventHandler clickHandler ) : System
text string
shortcut Shortcut
clickHandler EventHandler
return System

OnClick() public method

public OnClick ( EventArgs e ) : void
e System.EventArgs
return void

OnUpdate() public method

public OnUpdate ( EventArgs e ) : void
e System.EventArgs
return void

Property Details

_break protected_oe property

protected bool _break
return bool

_checked protected_oe property

protected bool _checked
return bool

comboBox protected_oe property

protected ComboBox,System.Windows.Forms comboBox
return System.Windows.Forms.ComboBox

enabled protected_oe property

protected bool enabled
return bool

image protected_oe property

protected Bitmap,System.Drawing image
return System.Drawing.Bitmap

imageIndex protected_oe property

protected int imageIndex
return int

imageList protected_oe property

protected ImageList,System.Windows.Forms imageList
return System.Windows.Forms.ImageList

infrequent protected_oe property

protected bool infrequent
return bool

menuItems protected_oe property

protected MenuCommandCollection,SidebarLibrary.Collections menuItems
return SidebarLibrary.Collections.MenuCommandCollection

radioCheck protected_oe property

protected bool radioCheck
return bool

realOwner protected_oe property

protected Object realOwner
return Object

shortcut protected_oe property

protected Shortcut shortcut
return Shortcut

text protected_oe property

protected string text
return string

userData protected_oe property

protected object userData
return object

visible protected_oe property

protected bool visible
return bool