1788b5671e
Creato profilo pubblicazione su WinLab Fix creazione nuova visita generale (con data della richiesta...) Pubblicato su WinLab!
47 lines
1.2 KiB
C#
47 lines
1.2 KiB
C#
using SteamWare;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
|
|
namespace MedPred.WebUserControls
|
|
{
|
|
public partial class mod_header : System.Web.UI.UserControl
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
if (!Page.IsPostBack)
|
|
{
|
|
Page.Title = Request.Url.ToString();
|
|
lblVers.Text = string.Format("v.{0}", System.Reflection.Assembly.GetExecutingAssembly().GetName().Version);
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// stringa del paziente selezionato
|
|
/// </summary>
|
|
public string pazienteSel
|
|
{
|
|
get
|
|
{
|
|
string answ = "-";
|
|
if (memLayer.ML.isInSessionObject("Paziente"))
|
|
{
|
|
answ = memLayer.ML.StringSessionObj("Paziente");
|
|
}
|
|
return answ;
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// stringa del paziente selezionato
|
|
/// </summary>
|
|
public string titolo
|
|
{
|
|
get
|
|
{
|
|
return Request.Url.LocalPath.Split('/').Last();
|
|
}
|
|
}
|
|
}
|
|
} |