Files
C.TRACK/MP-MAG/WebUserControls/cmp_SelUdc.ascx.cs
T
2020-12-30 16:20:04 +01:00

58 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MP_MAG.WebUserControls
{
public partial class cmp_SelUdc : BaseUserControl
{
#region Public Properties
public int PackListID
{
get
{
int answ = 0;
int.TryParse(hfPackListID.Value, out answ);
return answ;
}
set
{
hfPackListID.Value = $"{value}";
cmp_OrderListByUdc.PackListID = value;
}
}
public string UDC
{
get
{
return hfUDC.Value; ;
}
set
{
hfUDC.Value = value;
lblUDC.Text = value;
cmp_OrderListByUdc.UdcSel = value;
}
}
#endregion Public Properties
#region Protected Methods
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
PackListID = 0;
UDC = "";
}
}
#endregion Protected Methods
}
}