29 lines
		
	
	
		
			956 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			956 B
		
	
	
	
		
			C#
		
	
	
	
	
	
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;
 | 
						|
		}
 | 
						|
	}
 | 
						|
}
 |