58 lines
1.8 KiB
C#
58 lines
1.8 KiB
C#
using SteamWare;
|
|
using System;
|
|
using System.Web.UI;
|
|
|
|
namespace CMS_SC
|
|
{
|
|
public partial class AnagMatricole : System.Web.UI.Page
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
if (!Page.IsPostBack)
|
|
{
|
|
((Bootstrap)this.Master).showSearch = true;
|
|
mod_righePag.numRowPag = 20;
|
|
mod_anagMatricole.pageSize = mod_righePag.numRowPag;
|
|
divTags.Visible = false;
|
|
}
|
|
mod_righePag.eh_newNum += mod_righePag_eh_newNum;
|
|
mod_anagMatricole.eh_selezioneValore += mod_anagMatricole_eh_selezioneValore;
|
|
mod_anagMatricole.eh_deleteValore += Mod_anagMatricole_eh_deleteValore;
|
|
}
|
|
/// <summary>
|
|
/// fix post cancellazione
|
|
/// </summary>
|
|
/// <param name="sender"></param>
|
|
/// <param name="e"></param>
|
|
private void Mod_anagMatricole_eh_deleteValore(object sender, EventArgs e)
|
|
{
|
|
divTags.Visible = false;
|
|
|
|
}
|
|
|
|
void mod_anagMatricole_eh_selezioneValore(object sender, EventArgs e)
|
|
{
|
|
bool tagsVisib = false;
|
|
// determino visibilità da amtricola selezionata...
|
|
if (mod_anagMatricole.matrSel != "")
|
|
{
|
|
mod_tags2macchine.MatrSel = mod_anagMatricole.matrSel;
|
|
tagsVisib = true;
|
|
}
|
|
divTags.Visible = tagsVisib;
|
|
}
|
|
/// <summary>
|
|
/// wrapper traduzione
|
|
/// </summary>
|
|
/// <param name="lemma"></param>
|
|
/// <returns></returns>
|
|
public string traduci(string lemma)
|
|
{
|
|
return user_std.UtSn.Traduci(lemma);
|
|
}
|
|
void mod_righePag_eh_newNum(object sender, EventArgs e)
|
|
{
|
|
mod_anagMatricole.pageSize = mod_righePag.numRowPag;
|
|
}
|
|
}
|
|
} |