C# 클래스 SidebarLibrary.Menus.MenuItemEx

Summary description for MenuItemEx.
상속: System.Windows.Forms.MenuItem
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
menuImages System.Windows.Forms.ImageList

공개 메소드들

메소드 설명
DrawBackground ( Graphics g, Rectangle bounds, DrawItemState state, bool toplevel, bool hasicon, bool enabled ) : void
DrawIcon ( Graphics g, Image icon, Rectangle bounds, bool selected, bool enabled, bool isChecked ) : void
DrawMenuGlyph ( Graphics g, Rectangle bounds, bool selected, bool bCheckMark ) : void
DrawSeparator ( Graphics g, Rectangle bounds ) : void
MenuItemEx ( string name, Bitmap icon, Shortcut shortcut, EventHandler handler ) : System
MenuItemEx ( string name, EventHandler handler ) : System
MenuItemEx ( string name, EventHandler handler, Shortcut shortcut ) : System
MenuItemEx ( string name, ImageList imageList, int imageIndex, Shortcut shortcut, EventHandler handler ) : System
UpdateMenuColors ( ) : void
UpdateMenuColors ( object sender, EventArgs e ) : void

보호된 메소드들

메소드 설명
OnMeasureItem ( System.Windows.Forms.MeasureItemEventArgs e ) : void

비공개 메소드들

메소드 설명
CloneMenu ( MenuItemEx currentItem ) : MenuItem
DoUpdateMenuColors ( ) : void
DrawCheckedRectangle ( Graphics g, Rectangle bounds ) : void
DrawMenuText ( Graphics g, Rectangle bounds, string text, string shortcut, bool enabled, bool toplevel, DrawItemState state ) : void
Initialize ( Bitmap bitmap, Shortcut shortcut, EventHandler handler, ImageList list, int imageIndex ) : void
MenuItemEx ( ) : System
OnDrawItem ( DrawItemEventArgs e ) : void
OnSelect ( EventArgs e ) : void

메소드 상세

DrawBackground() 공개 메소드

public DrawBackground ( Graphics g, Rectangle bounds, DrawItemState state, bool toplevel, bool hasicon, bool enabled ) : void
g System.Drawing.Graphics
bounds System.Drawing.Rectangle
state DrawItemState
toplevel bool
hasicon bool
enabled bool
리턴 void

DrawIcon() 공개 메소드

public DrawIcon ( Graphics g, Image icon, Rectangle bounds, bool selected, bool enabled, bool isChecked ) : void
g System.Drawing.Graphics
icon Image
bounds System.Drawing.Rectangle
selected bool
enabled bool
isChecked bool
리턴 void

DrawMenuGlyph() 공개 메소드

public DrawMenuGlyph ( Graphics g, Rectangle bounds, bool selected, bool bCheckMark ) : void
g System.Drawing.Graphics
bounds System.Drawing.Rectangle
selected bool
bCheckMark bool
리턴 void

DrawSeparator() 공개 메소드

public DrawSeparator ( Graphics g, Rectangle bounds ) : void
g System.Drawing.Graphics
bounds System.Drawing.Rectangle
리턴 void

MenuItemEx() 공개 메소드

public MenuItemEx ( string name, Bitmap icon, Shortcut shortcut, EventHandler handler ) : System
name string
icon System.Drawing.Bitmap
shortcut Shortcut
handler EventHandler
리턴 System

MenuItemEx() 공개 메소드

public MenuItemEx ( string name, EventHandler handler ) : System
name string
handler EventHandler
리턴 System

MenuItemEx() 공개 메소드

public MenuItemEx ( string name, EventHandler handler, Shortcut shortcut ) : System
name string
handler EventHandler
shortcut Shortcut
리턴 System

MenuItemEx() 공개 메소드

public MenuItemEx ( string name, ImageList imageList, int imageIndex, Shortcut shortcut, EventHandler handler ) : System
name string
imageList System.Windows.Forms.ImageList
imageIndex int
shortcut Shortcut
handler EventHandler
리턴 System

OnMeasureItem() 보호된 메소드

protected OnMeasureItem ( System.Windows.Forms.MeasureItemEventArgs e ) : void
e System.Windows.Forms.MeasureItemEventArgs
리턴 void

UpdateMenuColors() 정적인 공개 메소드

static public UpdateMenuColors ( ) : void
리턴 void

UpdateMenuColors() 정적인 공개 메소드

static public UpdateMenuColors ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

프로퍼티 상세

menuImages 보호되어 있는 정적으로 프로퍼티

protected static ImageList,System.Windows.Forms menuImages
리턴 System.Windows.Forms.ImageList