using System; using System.Configuration; using System.Diagnostics; namespace MP_SITE.WebUserControls { public partial class mod_menuBottom : baseUserControl { #region Protected Methods protected override void Page_Load(object sender, EventArgs e) { // 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); } #endregion Protected Methods } }