C# 클래스 YamuiFramework.Forms.YamuiForm

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: jcaillon/3P 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddWindowButton void
CheckAeroEnabled bool
FocusMe bool
HitTestNca WinApi.HitTest
MoveControl void
OnGetMinMaxInfo void
OnShown void
RemoveCloseButton void
UpdateWindowButtonPosition void
WindowButton_Click void

공개 메소드들

메소드 설명
CreateContent ( List menuDescriber ) : void

Automatically generates the tabs/pages

CreateTopLinks ( List links, EventHandler onTabPressed, int xPosFromRight = 120, int yPosFromTop = 10 ) : void

Automatically generates top links

FindFocusedControl ( ) : Control
Notify ( string message, int stickDurationSecs ) : void

Displays an animated notification on the bottom of the form you can choose how much time the notif will last (in seconds)

ShowPage ( string pageName ) : void

Go to page pagename

YamuiForm ( ) : System

보호된 메소드들

메소드 설명
OnClosing ( CancelEventArgs e ) : void
OnEnabledChanged ( EventArgs e ) : void
OnLoad ( EventArgs e ) : void

On load of the form

OnMouseDown ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs e ) : void
OnResizeEnd ( EventArgs e ) : void
WndProc ( Message &m ) : void

비공개 메소드들

메소드 설명
AddWindowButton ( WindowButtons button ) : void
CheckAeroEnabled ( ) : bool
FocusMe ( ) : bool
HitTestNca ( IntPtr hwnd, IntPtr wparam, IntPtr lparam ) : WinApi.HitTest
MoveControl ( ) : void
OnGetMinMaxInfo ( IntPtr hwnd, IntPtr lParam ) : void
OnShown ( object sender, EventArgs eventArgs ) : void

allows to do stuff only when everything is fully loaded

RemoveCloseButton ( ) : void
UpdateWindowButtonPosition ( ) : void
WindowButton_Click ( object sender, EventArgs e ) : void

메소드 상세

CreateContent() 공개 메소드

Automatically generates the tabs/pages
public CreateContent ( List menuDescriber ) : void
menuDescriber List
리턴 void

CreateTopLinks() 공개 메소드

Automatically generates top links
public CreateTopLinks ( List links, EventHandler onTabPressed, int xPosFromRight = 120, int yPosFromTop = 10 ) : void
links List
onTabPressed EventHandler
xPosFromRight int
yPosFromTop int
리턴 void

FindFocusedControl() 공개 메소드

public FindFocusedControl ( ) : Control
리턴 System.Windows.Forms.Control

Notify() 공개 메소드

Displays an animated notification on the bottom of the form you can choose how much time the notif will last (in seconds)
public Notify ( string message, int stickDurationSecs ) : void
message string
stickDurationSecs int
리턴 void

OnClosing() 보호된 메소드

protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
리턴 void

OnEnabledChanged() 보호된 메소드

protected OnEnabledChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnLoad() 보호된 메소드

On load of the form
protected OnLoad ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnMouseDown() 보호된 메소드

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnPaint() 보호된 메소드

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

OnPaintBackground() 보호된 메소드

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

OnResizeEnd() 보호된 메소드

protected OnResizeEnd ( EventArgs e ) : void
e System.EventArgs
리턴 void

ShowPage() 공개 메소드

Go to page pagename
public ShowPage ( string pageName ) : void
pageName string
리턴 void

WndProc() 보호된 메소드

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
리턴 void

YamuiForm() 공개 메소드

public YamuiForm ( ) : System
리턴 System