using MapoDb; using SteamWare; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace MoonProTablet { public partial class User : BasePage { protected void Page_Load(object sender, EventArgs e) { } /// /// Dimensione schermata video attuale /// public string videoSize { get { string answ = "?x?"; if (Session["BrowserWidth"] != null) { answ = string.Format("{0} x {1}", Session["BrowserWidth"], Session["BrowserHeight"]); } return answ; } } /// /// Cognome Nome utente /// public string CognomeNome { get { string swData = ""; string cognomeNome = ""; try { cognomeNome = user_std.UtSn.CognomeNome; } catch (Exception exc) { logger.lg.scriviLog(string.Format("Eccezione in User.aspx - page_load: {0}", exc), tipoLog.EXCEPTION); } if (cognomeNome != "") { swData = cognomeNome; } else if (DataLayerObj.MatrOpr > 0) { swData = DataLayerObj.CognomeNomeOpr; } else { swData = "MoonProTablet"; } return swData; } } } }