frmMessage Class

A replacement for MessageBox that centers on the calling form.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2715.4228
C#
public class frmMessage : Form
Inheritance
Form    frmMessage

Constructors

frmMessage Create a new instance of the frmMessage Form.
frmMessage(Form) Create a new instance of the frmMessage Form.

Properties

Buttons Get/Set the button layout style for this instance.
Caption Get/Set the message box title caption.
MessageText Get/Set the text of the message box message.

Methods

btn1_Click Button 1 has been clicked.
btn2_Click Button 2 has been clicked.
btn3_Click Button 3 has been clicked.
Dispose Clean up any resources being used.
frmMessage_Resize The form has resized.
InitializeComponent Required method for Designer support - do not modify the contents of this method with the code editor.
Show Display the message box and return the result.

Fields

btn1 Configurable button #1.
btn2 Configurable button #2.
btn3 Configurable button #3.
components Required designer variable.
lblMessage The label containing the caller-specified text message.
mButtons Private member for Buttons.

See Also