C# Class MetroFramework.MetroMessageBoxControl

Inheritance: System.Windows.Forms.Form
Show file Open project: akretion/uninfe Class Usage Examples

Public Methods

Method Description
ArrangeApperance ( ) : void

Arranges the apperance of the message box overlay.

MetroMessageBoxControl ( ) : MetroFramework.Controls
SetDefaultButton ( ) : void

Sets the default focused button.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnLoad ( EventArgs e ) : void

Private Methods

Method Description
EnableButton ( MetroButton button ) : void
EnableButton ( MetroButton button, bool enabled ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ReleaseCapture ( ) : bool
SendMessage ( IntPtr hWnd, int Msg, int wParam, int lParam ) : int
StylizeButton ( MetroButton button ) : void
StylizeButton ( MetroButton button, bool hovered ) : void
button_Click ( object sender, EventArgs e ) : void
button_MouseClick ( object sender, MouseEventArgs e ) : void
button_MouseEnter ( object sender, EventArgs e ) : void
button_MouseLeave ( object sender, EventArgs e ) : void
tlpBody_MouseDown ( object sender, MouseEventArgs e ) : void

Method Details

ArrangeApperance() public method

Arranges the apperance of the message box overlay.
public ArrangeApperance ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

MetroMessageBoxControl() public method

public MetroMessageBoxControl ( ) : MetroFramework.Controls
return MetroFramework.Controls

OnLoad() protected method

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
return void

SetDefaultButton() public method

Sets the default focused button.
public SetDefaultButton ( ) : void
return void