C# Class ACAT.Lib.Core.PanelManagement.TimedMessageBox

Form for a message box with an OK button. Uses a timer and when the timer expires, automatically closes the box. Useful for error messages or informational messages
Inheritance: System.Windows.Forms.Form
Show file Open project: brlima94/acat-localization Class Usage Examples

Public Methods

Method Description
Show ( String message ) : void

Shows the message box

Private Methods

Method Description
TimedMessageBox ( String message ) : System

Initializes a new instance of the class.

TimedMessageBox_Load ( object sender, EventArgs e ) : void

Performs initialization

buttonCopyClipboard_Click ( object sender, EventArgs e ) : void

Copy the message to clipboard

buttonOK_Click ( object sender, EventArgs e ) : void

User clicked on the OK button. Close the form

labelMessage_Click ( object sender, EventArgs e ) : void
timer_Tick ( object sender, EventArgs e ) : void

Timer tick event. Updates form

updateTimerMessage ( ) : void

Updates info on the form

Method Details

Show() public static method

Shows the message box
public static Show ( String message ) : void
message String
return void