using System; using System.Configuration; using System.Diagnostics; using System.Web.UI; namespace MP_ADM.WebUserControls { public partial class mod_menuBottom : BaseUserControl { protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { // sistemo le stringhe... var versionInfo = FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly().Location); lblCopyRight.Text = string.Format("{0}", versionInfo.LegalCopyright); lblApp.Text = string.Format("{0} v.{1}", ConfigurationManager.AppSettings.Get("appName"), System.Reflection.Assembly.GetExecutingAssembly().GetName().Version); } } } }