Files
SourceCode/PROMS/Volian.Base.Library/FrmPopupStatusMessage.cs
T

21 lines
770 B
C#

using System.Windows.Forms;
namespace Volian.Base.Library
{
public partial class FrmPopupStatusMessage : Form
{
// This creates a simple message box consisting of a title and the message
// The purpose is to allow the coder to pop up brief status message during the running of a method for a 3rd party.
// i.e. this is used when PROMS uses Word to convert to a DOCX file format for PROMS Word sections.
// The message is centered in the message box - we can expand on this class if needed
// The coder uses the Show method to display the message box and Close to remove it
// The user is not prompted for a response.
public FrmPopupStatusMessage(string title, string msg)
{
InitializeComponent();
Text = title;
popMsg.Text = msg;
}
}
}