using System; namespace NKC_WF.WebUserControls { public partial class cmp_numRow : BaseUserControl { #region Public Properties public int numRow { set { txtNumRow.Text = value.ToString(); } get { int answ = 10; int.TryParse(txtNumRow.Text, out answ); return answ; } } #endregion Public Properties #region Protected Methods protected void Page_Load(object sender, EventArgs e) { } protected void txtNumRow_TextChanged(object sender, EventArgs e) { raiseEvent(); } #endregion Protected Methods } }