33 lines
840 B
C#
33 lines
840 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
|
|
namespace MoonProTablet.WebUserControls
|
|
{
|
|
public partial class mod_QRScanner : System.Web.UI.UserControl
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
// Richeisto https
|
|
// basato su instascan:
|
|
// https://github.com/schmich/instascan
|
|
if (!Page.IsPostBack)
|
|
{
|
|
txtQRCode.Text = "";
|
|
hlReload.Enabled = false;
|
|
}
|
|
}
|
|
|
|
protected void txtQRCode_TextChanged(object sender, EventArgs e)
|
|
{
|
|
//// rimando a pagina di login...
|
|
//Response.Redirect(txtQRCode.Text.Trim());
|
|
//hlReload.NavigateUrl=txtQRCode.Text.Trim();
|
|
//hlReload.Text = txtQRCode.Text.Trim();
|
|
//hlReload.Enabled = true;
|
|
}
|
|
}
|
|
} |