update con progetto terminalino

git-svn-id: https://keyhammer.ath.cx/svn/XPS/trunk@114 43c8e981-f90d-406c-a89a-24a2c4268d51
This commit is contained in:
samuele
2011-11-04 16:31:49 +00:00
parent 22bf08d19f
commit d0ef050896
179 changed files with 21705 additions and 8411 deletions
@@ -0,0 +1,45 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
namespace XPST.WebUserControls
{
public partial class mod_menuTopCompact : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
string operatore = "";
try
{
operatore = user_std.UtSn.CognomeNome;
}
catch
{
// rimando a login...
Response.Redirect("~/Default.aspx");
}
if (operatore != "")
{
lblTitolo.Text = string.Format("{0} - {1}", traduci(memLayer.ML.confReadString("titleApp")), operatore);
}
else
{
lblTitolo.Text = traduci(memLayer.ML.confReadString("titleApp"));
}
}
/// <summary>
/// wrapper traduzione termini
/// </summary>
/// <param name="lemma"></param>
/// <returns></returns>
public string traduci(string lemma)
{
return user_std.UtSn.Traduci(lemma);
}
}
}