58 lines
1.3 KiB
C#
58 lines
1.3 KiB
C#
using System;
|
|
|
|
namespace MoonProTablet.WebUserControls
|
|
{
|
|
public partial class mod_footer : BaseUserControl
|
|
{
|
|
#region Public Properties
|
|
|
|
/// <summary>
|
|
/// Versione corrente sw
|
|
/// </summary>
|
|
public Version currVersion
|
|
{
|
|
get
|
|
{
|
|
return System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
|
|
}
|
|
}
|
|
|
|
/// <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;
|
|
}
|
|
}
|
|
|
|
#endregion Public Properties
|
|
|
|
#region Private Methods
|
|
|
|
private void updateLabels()
|
|
{
|
|
}
|
|
|
|
#endregion Private Methods
|
|
|
|
#region Protected Methods
|
|
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
if (!Page.IsPostBack)
|
|
{
|
|
updateLabels();
|
|
}
|
|
}
|
|
|
|
#endregion Protected Methods
|
|
}
|
|
} |