C# Class MetroFramework.Forms.MetroForm

Inheritance: System.Windows.Forms.Form, IMetroForm, IDisposable
Afficher le fichier Open project: AshishKilmist/MetroFramework Class Usage Examples

Private Properties

Свойство Type Description
AddWindowButton void
CreateShadow void
FocusMe bool
GetTextFormatFlags TextFormatFlags
HitTestNCA WinApi.HitTest
IsAeroThemeEnabled bool
IsDropShadowSupported bool
MeasureText System.Drawing.Rectangle
MoveControl void
OnGetMinMaxInfo void
RemoveCloseButton void
RemoveShadow void
UpdateWindowButtonPosition void
WindowButton_Click void

Méthodes publiques

Méthode Description
MetroForm ( ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
OnActivated ( EventArgs e ) : void
OnClosed ( EventArgs e ) : void
OnClosing ( CancelEventArgs e ) : void
OnEnabledChanged ( EventArgs e ) : void
OnLoad ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnResizeEnd ( EventArgs e ) : void
WndProc ( Message &m ) : void

Private Methods

Méthode Description
AddWindowButton ( WindowButtons button ) : void
CreateShadow ( ) : void
FocusMe ( ) : bool
GetTextFormatFlags ( ) : TextFormatFlags
HitTestNCA ( IntPtr hwnd, IntPtr wparam, IntPtr lparam ) : WinApi.HitTest
IsAeroThemeEnabled ( ) : bool
IsDropShadowSupported ( ) : bool
MeasureText ( Graphics g, Rectangle clientRectangle, Font font, string text, TextFormatFlags flags ) : Rectangle
MoveControl ( ) : void
OnGetMinMaxInfo ( IntPtr hwnd, IntPtr lParam ) : void
RemoveCloseButton ( ) : void
RemoveShadow ( ) : void
UpdateWindowButtonPosition ( ) : void
WindowButton_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

MetroForm() public méthode

public MetroForm ( ) : System
Résultat System

OnActivated() protected méthode

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

OnClosed() protected méthode

protected OnClosed ( EventArgs e ) : void
e System.EventArgs
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

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

OnResizeEnd() protected méthode

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

WndProc() protected méthode

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