#region Arthea License
/***********************************************************************
*  Arthea MUD by R. Jennings (2007)      http://arthea.googlecode.com/ *
*  By using this code you comply with the Artistic and GPLv2 Licenses. *
***********************************************************************/
#endregion
using System;
using System.Windows.Forms;
namespace ArtheaGUI
{
    /// <summary>
    /// Implementation of the ports dialog.
    /// </summary>
    public partial class PortsDialog : Form
    {
        #region [rgn] Constructors (1)
        /// <summary>
        /// Constructs the port dialog
        /// </summary>
        public PortsDialog()
        {
            InitializeComponent();
        }
        #endregion [rgn]
        #region [rgn] Properties (2)
        /// <summary>
        /// The port the server uses.
        /// </summary>
        public short Port
        {
            get { return Convert.ToInt16(numPort.Value); }
        }
        /// <summary>
        /// The port recovery transfers use.
        /// </summary>
        public short RecoveryPort
        {
            get { return Convert.ToInt16(numRecovery.Value); }
        }
        #endregion [rgn]
    }
}