C# Class ATMLCommonLibrary.forms.HelpMessageBox

Inheritance: System.Windows.Forms.Form
Show file Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Protected Properties

Property Type Description
btnCancel System.Windows.Forms.Button
btnOk System.Windows.Forms.Button
lblDenoteRequiredField System.Windows.Forms.Label

Public Methods

Method Description
HelpMessageBox ( ) : System
Show ( string messageText ) : string
Show ( string messageText, string messageTitle ) : string
Show ( string messageText, string messageTitle, enumMessageIcon messageIcon, enumMessageButton messageButton, Point location ) : string

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

WndProc ( Message &m ) : void

Private Methods

Method Description
GetCapsule ( RectangleF baseRect ) : GraphicsPath
GetRoundedRect ( RectangleF baseRect, float radius ) : GraphicsPath
HelpMessageBox_Load ( object sender, System e ) : void
InitializeComponent ( ) : void

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

addButton ( enumMessageButton MessageButton ) : void
addIconImage ( enumMessageIcon MessageIcon ) : void
pictureBox1_Click ( object sender, EventArgs e ) : void
setMessage ( string messageText ) : void

Method Details

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

HelpMessageBox() public method

public HelpMessageBox ( ) : System
return System

Show() public static method

public static Show ( string messageText ) : string
messageText string
return string

Show() public static method

public static Show ( string messageText, string messageTitle ) : string
messageText string
messageTitle string
return string

Show() public static method

public static Show ( string messageText, string messageTitle, enumMessageIcon messageIcon, enumMessageButton messageButton, Point location ) : string
messageText string
messageTitle string
messageIcon enumMessageIcon
messageButton enumMessageButton
location Point
return string

WndProc() protected method

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

Property Details

btnCancel protected property

protected System.Windows.Forms.Button btnCancel
return System.Windows.Forms.Button

btnOk protected property

protected System.Windows.Forms.Button btnOk
return System.Windows.Forms.Button

lblDenoteRequiredField protected property

protected System.Windows.Forms.Label lblDenoteRequiredField
return System.Windows.Forms.Label