C# 클래스 YamuiFramework.Forms.YamuiMenu

A class to display a cool custom context menu
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: jcaillon/3P 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
IamMain bool
SubTextOpacity int

공개 메소드들

메소드 설명
CloseAll ( ) : void
OnKeyDown ( Keys pressedKey ) : void

A key has been pressed on the menu

YamuiMenu ( Point location, List content, string htmlTitle = null, int minSize = 150 ) : System

보호된 메소드들

메소드 설명
OnPaint ( PaintEventArgs e ) : void

비공개 메소드들

메소드 설명
ButtonOnButtonPressed ( object sender, EventArgs eventArgs ) : void
CloseChildren ( ) : void
CloseParents ( ) : void
OnActivated ( object sender, EventArgs eventArgs ) : void

Close all children when a menu is activated

OnClosing ( object sender, CancelEventArgs cancelEventArgs ) : void
OnDeactivate ( object sender, EventArgs eventArgs ) : void

Close the menu when the user clicked elsewhere

OnItemPressed ( ) : void

an item has been pressed

OnPreviewKeyDown ( object sender, PreviewKeyDownEventArgs previewKeyDownEventArgs ) : void
SetPosition ( Rectangle rect, bool reverseX, bool reverseY ) : void

Position the menu relativly to a parent menu

메소드 상세

CloseAll() 공개 메소드

public CloseAll ( ) : void
리턴 void

OnKeyDown() 공개 메소드

A key has been pressed on the menu
public OnKeyDown ( Keys pressedKey ) : void
pressedKey Keys
리턴 void

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

YamuiMenu() 공개 메소드

public YamuiMenu ( Point location, List content, string htmlTitle = null, int minSize = 150 ) : System
location Point
content List
htmlTitle string
minSize int
리턴 System

프로퍼티 상세

IamMain 공개적으로 프로퍼티

public bool IamMain
리턴 bool

SubTextOpacity 공개적으로 프로퍼티

public int SubTextOpacity
리턴 int