C# Class MeshExplorer.DarkMessageBox

Inheritance: System.Windows.Forms.Form
Show file Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Public Methods

Method Description
DarkMessageBox ( ) : System
Show ( string title, string message ) : DialogResult
Show ( string title, string message, MessageBoxButtons buttons ) : DialogResult
Show ( string title, string message, string info ) : DialogResult
Show ( string title, string message, string info, MessageBoxButtons buttons ) : DialogResult

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnPaint ( PaintEventArgs e ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

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

SetButtonsText ( DarkMessageBox dialog, MessageBoxButtons buttons ) : void

Method Details

DarkMessageBox() public method

public DarkMessageBox ( ) : System
return System

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

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

Show() public static method

public static Show ( string title, string message ) : DialogResult
title string
message string
return DialogResult

Show() public static method

public static Show ( string title, string message, MessageBoxButtons buttons ) : DialogResult
title string
message string
buttons MessageBoxButtons
return DialogResult

Show() public static method

public static Show ( string title, string message, string info ) : DialogResult
title string
message string
info string
return DialogResult

Show() public static method

public static Show ( string title, string message, string info, MessageBoxButtons buttons ) : DialogResult
title string
message string
info string
buttons MessageBoxButtons
return DialogResult