diff --git a/MP-ADM/BasePage.cs b/MP-ADM/BasePage.cs new file mode 100644 index 00000000..dd4aad1a --- /dev/null +++ b/MP-ADM/BasePage.cs @@ -0,0 +1,30 @@ +using SteamWare; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace MP_ADM +{ + public class BasePage : System.Web.UI.Page + { + /// + /// effettua traduzione del lemma + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + /// + /// effettua traduzione in inglese del lemma + /// + /// + /// + public string traduciEn(string lemma) + { + return user_std.UtSn.TraduciEn(lemma); + } + } +} \ No newline at end of file diff --git a/MP-ADM/BaseUserControl.cs b/MP-ADM/BaseUserControl.cs new file mode 100644 index 00000000..5ffb8037 --- /dev/null +++ b/MP-ADM/BaseUserControl.cs @@ -0,0 +1,37 @@ +using MapoDb; +using SteamWare; +using System; +using System.Data; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace MP_ADM +{ + public class BaseUserControl : System.Web.UI.UserControl + { + /// + /// Oggetto datalayer specifico NON singleton x scalare + /// + internal DataLayer DataLayerObj = new DataLayer(); + + + /// + /// effettua traduzione del lemma + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + /// + /// effettua traduzione in inglese del lemma + /// + /// + /// + public string traduciEn(string lemma) + { + return user_std.UtSn.TraduciEn(lemma); + } + } +} \ No newline at end of file diff --git a/MP-ADM/MP-ADM.csproj b/MP-ADM/MP-ADM.csproj index 6ecaf08c..dcbcb9ce 100644 --- a/MP-ADM/MP-ADM.csproj +++ b/MP-ADM/MP-ADM.csproj @@ -655,6 +655,12 @@ Barcode.aspx + + ASPXCodeBehind + + + ASPXCodeBehind + BCode.aspx ASPXCodeBehind