commit branch ermanno + trunk per correzione (non andava....)
git-svn-id: https://keyhammer.ath.cx/svn/XPS/trunk@117 43c8e981-f90d-406c-a89a-24a2c4268d51
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
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_currentTask : System.Web.UI.UserControl
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// wrapper traduzione termini
|
||||
/// </summary>
|
||||
/// <param name="lemma"></param>
|
||||
/// <returns></returns>
|
||||
public string traduci(string lemma)
|
||||
{
|
||||
return user_std.UtSn.Traduci(lemma);
|
||||
}
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
string task = memLayer.ML.StringSessionObj("activeTask");
|
||||
if (task == "")
|
||||
{
|
||||
task = "..." + traduci("waiting") + "...";
|
||||
}
|
||||
lblTask.Text = task;
|
||||
setClock();
|
||||
}
|
||||
|
||||
private void setClock()
|
||||
{
|
||||
lblDateTime.Text = DateTime.Now.ToString("HH:mm:ss");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user