43 lines
888 B
C#
43 lines
888 B
C#
using System;
|
|
|
|
namespace MoonProTablet.WebUserControls
|
|
{
|
|
public partial class mod_footer : System.Web.UI.UserControl
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
if (!Page.IsPostBack)
|
|
{
|
|
updateLabels();
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Versione corrente sw
|
|
/// </summary>
|
|
public Version currVersion
|
|
{
|
|
get
|
|
{
|
|
return System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
|
|
}
|
|
}
|
|
private void updateLabels()
|
|
{
|
|
}
|
|
/// <summary>
|
|
/// Dimensione schermata video attuale
|
|
/// </summary>
|
|
public string videoSize
|
|
{
|
|
get
|
|
{
|
|
string answ = "?x?";
|
|
if (Session["BrowserWidth"] != null)
|
|
{
|
|
answ = string.Format("{0} x {1}", Session["BrowserWidth"], Session["BrowserHeight"]);
|
|
}
|
|
return answ;
|
|
}
|
|
}
|
|
}
|
|
} |