Files
MoonPro.net/MP-ADM/WebUserControls/mod_pageTitleAndSearch.ascx.cs
T
Samuele E. Locatelli 91ccb018af Code cleanup con CodeMaid
2020-09-11 12:45:52 +02:00

26 lines
737 B
C#

using SteamWare;
using System;
public partial class mod_pageTitleAndSearch : ApplicationUserControl
{
#region area protected
protected string _titolo;
protected override void traduciObj()
{
try
{
DataLayer_AnagGen.PermessiRow riga = (DataLayer_AnagGen.PermessiRow)user_std.UtSn.permessi.Select(string.Format("URL = '{0}.aspx' OR URL = '{0}'", _paginaCorrente))[0];
_titolo = riga.NOME;
}
catch (Exception exc)
{
logger.lg.scriviLog(string.Format("Errore in decodifica titolo:{0}{1}", Environment.NewLine, exc));
_titolo = _paginaCorrente;
}
lblTitolo.Text = traduci(_titolo);
}
#endregion area protected
}