B2023-093 Convert PROMS Word sections to the DOCX format if needed before Editing or Printing
This commit is contained in:
28
PROMS/Volian.Base.Library/FrmPopupStatusMessage.cs
Normal file
28
PROMS/Volian.Base.Library/FrmPopupStatusMessage.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user