/*********************************************************************************************
 * Copyright 2005 - Volian Enterprises, Inc. All rights reserved.
 * Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
 * ------------------------------------------------------------------------------
 * $Workfile: ReadWord.cs $     $Revision: 2 $
 * $Author: Jsj $   $Date: 5/17/05 11:45a $
 *
 * $History: ReadWord.cs $
 * 
 * *****************  Version 2  *****************
 * User: Jsj          Date: 5/17/05    Time: 11:45a
 * Updated in $/LibSource/GUI_Utils
 * position in center of screen
 * 
 * *****************  Version 1  *****************
 * User: Kathy        Date: 3/08/05    Time: 1:45p
 * Created in $/LibSource/GUI_Utils
 * Approval
 * 
 * *****************  Version 1  *****************
 * User: Kathy        Date: 3/08/05    Time: 1:40p
 * Created in $/LibSource/GUI_Utils/GUI_Utils
 * 
 * *****************  Version 1  *****************
 * User: Kathy        Date: 3/08/05    Time: 1:33p
 * Created in $/LibSource/GUI_Utils/GUI_Utils
 * 
 * *****************  Version 1  *****************
 * User: Kathy        Date: 3/08/05    Time: 1:32p
 * Created in $/LibSource/GUI_Utils/GUI_Utils
 * 
 * *****************  Version 1  *****************
 * User: Kathy        Date: 3/08/05    Time: 1:30p
 * Created in $/GUI_Utils/GUI_Utils
 *********************************************************************************************/
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace GUI_Utils
{
	/// 
	/// Summary description for ReadWord.
	/// 
	public class frmReadWord : System.Windows.Forms.Form
	{
		private System.Windows.Forms.TextBox tbInput;
		private System.Windows.Forms.Button btnCancel;
		private System.Windows.Forms.Button btnOK;
		private System.Windows.Forms.Label lblInput;
		/// 
		/// Required designer variable.
		/// 
		private System.ComponentModel.Container components = null;
		public frmReadWord(string inpText,string caption)
		{
			InitializeComponent();
			this.lblInput.Text = caption;
			this.tbInput.Text = inpText;
		}
		/// 
		/// Clean up any resources being used.
		/// 
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}
		#region Windows Form Designer generated code
		/// 
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// 
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmReadWord));
			this.lblInput = new System.Windows.Forms.Label();
			this.tbInput = new System.Windows.Forms.TextBox();
			this.btnOK = new System.Windows.Forms.Button();
			this.btnCancel = new System.Windows.Forms.Button();
			this.SuspendLayout();
			// 
			// lblInput
			// 
			this.lblInput.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.lblInput.Location = new System.Drawing.Point(19, 9);
			this.lblInput.Name = "lblInput";
			this.lblInput.Size = new System.Drawing.Size(451, 28);
			this.lblInput.TabIndex = 0;
			// 
			// tbInput
			// 
			this.tbInput.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.tbInput.Location = new System.Drawing.Point(10, 46);
			this.tbInput.Name = "tbInput";
			this.tbInput.Size = new System.Drawing.Size(460, 24);
			this.tbInput.TabIndex = 1;
			this.tbInput.Text = "textBox1";
			// 
			// btnOK
			// 
			this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
			this.btnOK.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.btnOK.Location = new System.Drawing.Point(125, 92);
			this.btnOK.Name = "btnOK";
			this.btnOK.Size = new System.Drawing.Size(96, 28);
			this.btnOK.TabIndex = 2;
			this.btnOK.Text = "OK";
			// 
			// btnCancel
			// 
			this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.btnCancel.Location = new System.Drawing.Point(259, 92);
			this.btnCancel.Name = "btnCancel";
			this.btnCancel.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
			this.btnCancel.Size = new System.Drawing.Size(96, 28);
			this.btnCancel.TabIndex = 3;
			this.btnCancel.Text = "Cancel";
			// 
			// frmReadWord
			// 
			this.AutoScale = false;
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
			this.ClientSize = new System.Drawing.Size(489, 136);
			this.Controls.Add(this.btnCancel);
			this.Controls.Add(this.btnOK);
			this.Controls.Add(this.tbInput);
			this.Controls.Add(this.lblInput);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "frmReadWord";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "VE-PROMS";
			this.TopMost = true;
			this.ResumeLayout(false);
		}
		#endregion
		
		public string ReadWordText 
		{
			get
			{
				return this.tbInput.Text; 
			}
		}
	}
}