Ejemplo n.º 1
0
 /// <summary>
 /// Constructor de la Clase PresentadorLogin
 /// </summary>
 public Login()
 {
     try
     {
         string exito = Request.QueryString["exito"];
         if (exito == "1")
         {
             alert.Attributes["class"] = "alert alert-success alert-dismissible";
             alert.Attributes["role"]  = "alert";
             alert.InnerHtml           = "<div><button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\"><span aria-hidden=\"true\">&times;</span></button>Se envio un mensaje a su correo... Confirme y siga los pasos</div>";
         }
     }
     catch (Exception)
     {
         exito = "0";
     }
     finally
     {
         presentador = new PresentadorLogin(this);
     }
 }
Ejemplo n.º 2
0
 public VLogin()
 {
     InitializeComponent();
     _presentador = new PresentadorLogin(this, new RepositorioUsuario());
 }
Ejemplo n.º 3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     presentador = new PresentadorLogin(this);
 }
Ejemplo n.º 4
0
 protected override void OnInit(EventArgs e)
 {
     base.OnInit(e);
     presentador = new PresentadorLogin(this);
 }
Ejemplo n.º 5
0
 public Login()
 {
     _presentador = new PresentadorLogin();
     InitializeComponent();
 }
Ejemplo n.º 6
0
 public VLogin()
 {
     InitializeComponent();
     _presentador = new PresentadorLogin(this);
 }