4d3545f56b
- rifatto layout pulsanti - rifatta struttura menù di navigazione git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@431 365432ac-a1b5-4ffd-bb28-6d3099d32164
44 lines
1.2 KiB
C#
44 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
using SteamWare;
|
|
|
|
namespace GMW_Term.WebUserControls
|
|
{
|
|
public partial class mod_home : System.Web.UI.UserControl
|
|
{
|
|
/// <summary>
|
|
/// wrapper traduzione termini
|
|
/// </summary>
|
|
/// <param name="lemma"></param>
|
|
/// <returns></returns>
|
|
public string traduci(string lemma)
|
|
{
|
|
return user_std.UtSn.Traduci(lemma);
|
|
}
|
|
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
// scrive label e text bottoni
|
|
btn1.Text = string.Format("{0}\n[Alt+{1}]",traduci("MenuLDP"),2);
|
|
btn1.AccessKey = "2";
|
|
btn2.Text = string.Format("{0}\n[Alt+{1}]", traduci("MenuMov"), 8);
|
|
btn2.AccessKey = "8";
|
|
}
|
|
|
|
protected void btn1_Click(object sender, EventArgs e)
|
|
{
|
|
Response.Redirect("MenuLDP.aspx");
|
|
}
|
|
|
|
protected void btn2_Click(object sender, EventArgs e)
|
|
{
|
|
Response.Redirect("MenuMov.aspx");
|
|
}
|
|
}
|
|
}
|
|
|