30 lines
732 B
C#
30 lines
732 B
C#
using SteamWare;
|
|
using System;
|
|
|
|
namespace C_TRACK
|
|
{
|
|
public partial class task : System.Web.UI.Page
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
if (!Page.IsPostBack)
|
|
{
|
|
mod_barcode.Visible = devicesAuthProxy.stObj.userHasRight("CT_userStart");
|
|
}
|
|
mod_barcode.eh_dataRead += Mod_barcode_eh_dataRead;
|
|
mod_addTask.eh_created += Mod_addTask_eh_created;
|
|
}
|
|
|
|
private void Mod_addTask_eh_created(object sender, EventArgs e)
|
|
{
|
|
mod_taskList.doUpdate();
|
|
}
|
|
|
|
private void Mod_barcode_eh_dataRead(object sender, EventArgs e)
|
|
{
|
|
// passo il dato grezzo al modulo processing commessa...
|
|
mod_addTask.newInput = mod_barcode.rawInput;
|
|
}
|
|
|
|
}
|
|
} |