From 95c80f282a53ce9769eef1a8077d001d2d48387f Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Wed, 8 Jul 2020 21:32:19 +0200 Subject: [PATCH] controllo base x metodi comuni --- MP-TAB/WebUserControls/MpTabControl.cs | 36 ++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 MP-TAB/WebUserControls/MpTabControl.cs diff --git a/MP-TAB/WebUserControls/MpTabControl.cs b/MP-TAB/WebUserControls/MpTabControl.cs new file mode 100644 index 00000000..74fa8cbb --- /dev/null +++ b/MP-TAB/WebUserControls/MpTabControl.cs @@ -0,0 +1,36 @@ +using SteamWare; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace MoonProTablet.WebUserControls +{ + public class MpTabControl : System.Web.UI.UserControl + { + /// + /// idxMacchina + /// + public string idxMacchina + { + get + { + return memLayer.ML.StringSessionObj("idxMacchina"); + } + set + { + memLayer.ML.setSessionVal("idxMacchina", value); + } + } + /// + /// effettua traduzione del lemma + /// + /// + /// + public string traduci(object _lemma) + { + _lemma = _lemma == null ? "":_lemma; + return user_std.UtSn.Traduci(_lemma.ToString()); + } + } +} \ No newline at end of file