C# Класс 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
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Show ( String message ) : void

Shows the message box

Приватные методы

Метод Описание
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

Описание методов

Show() публичный статический Метод

Shows the message box
public static Show ( String message ) : void
message String
Результат void