C# Class YamuiFramework.Forms.YamuiForm

Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: jcaillon/3P Class Usage Examples

Private Properties

Свойство Type Description
AddWindowButton void
CheckAeroEnabled bool
FocusMe bool
HitTestNca WinApi.HitTest
MoveControl void
OnGetMinMaxInfo void
OnShown void
RemoveCloseButton void
UpdateWindowButtonPosition void
WindowButton_Click void

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

CreateContent() public méthode

Automatically generates the tabs/pages
public CreateContent ( List menuDescriber ) : void
menuDescriber List
Résultat void

CreateTopLinks() public méthode

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
Résultat void

FindFocusedControl() public méthode

public FindFocusedControl ( ) : Control
Résultat System.Windows.Forms.Control

Notify() public méthode

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
Résultat void

OnClosing() protected méthode

protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
Résultat void

OnEnabledChanged() protected méthode

protected OnEnabledChanged ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnLoad() protected méthode

On load of the form
protected OnLoad ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseDown() protected méthode

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

OnPaintBackground() protected méthode

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

OnResizeEnd() protected méthode

protected OnResizeEnd ( EventArgs e ) : void
e System.EventArgs
Résultat void

ShowPage() public méthode

Go to page pagename
public ShowPage ( string pageName ) : void
pageName string
Résultat void

WndProc() protected méthode

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
Résultat void

YamuiForm() public méthode

public YamuiForm ( ) : System
Résultat System