Designänderung am Code

This commit is contained in:
ja
2021-10-18 16:25:33 +02:00
parent 1237262ba0
commit 4493e42609
3 changed files with 21 additions and 8 deletions

View File

@@ -5,7 +5,9 @@ Partial Class login_FLEX
Inherits System.Web.UI.Page
Protected Sub Page_Load(sender As Object, e As EventArgs)
If Page.IsPostBack Then
MsgBox("Debug")
End If
End Sub
Protected Sub ValidateUser(sender As Object, e As EventArgs)
Dim userId As Integer = 0
@@ -61,8 +63,19 @@ Partial Class login_FLEX
Protected Sub LoginButton_Click(sender As Object, e As EventArgs)
Validate("Login")
If Page.IsValid() Then
Response.Redirect("../Customers/CustomsAviso.aspx")
Else
Response.Redirect("login_FLEX.aspx")
End If
End Sub
Protected Sub LoginButton_M_Click(sender As Object, e As EventArgs)
Validate("Login_M")
If Page.IsValid() Then
Response.Redirect("../Customers/CustomsAviso.aspx")
Else
Response.Redirect("login_FLEX.aspx")
End If
End Sub
End Class