Files
MoonPro.net/MP-TAB/WebUserControls/cmp_ST_detail.ascx.cs
T
2020-09-14 21:56:39 +02:00

61 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MoonProTablet.WebUserControls
{
public partial class cmp_ST_detail : BaseUserControl
{
protected void Page_Load(object sender, EventArgs e)
{
fixWarning();
}
/// <summary>
/// check ODL presente
/// </summary>
private void fixWarning()
{
if (idxMacchina == "")
{
lblWarning.Text = traduci("MancaMacchina");
lblWarning.Visible = true;
}
else if (idxOdl == 0)
{
lblWarning.Text = traduci("MancaOdl");
lblWarning.Visible = true;
}
else
{
lblWarning.Text = "";
lblWarning.Visible = false;
}
}
public string CodArticolo
{
get
{
return hfCodArticolo.Value.Trim();
}
set
{
hfCodArticolo.Value = value.Trim();
}
}
public string CodGruppo
{
get
{
return hfCodGruppo.Value.Trim();
}
set
{
hfCodGruppo.Value = value.Trim();
}
}
}
}