Professional Documents
Culture Documents
Name: Naomi Rose G. Vigo Date: January 22, 2021 Grade and Section: 8 Cypress Class Number: G 17 Performance Task #3 3: Log in System
Name: Naomi Rose G. Vigo Date: January 22, 2021 Grade and Section: 8 Cypress Class Number: G 17 Performance Task #3 3: Log in System
Naomi Rose G. Vigo Date: January 22, 2021
Grade and Section: 8 Cypress Class Number: G‐17
Performance Task #3‐3rd: Log‐in System
Public Class Form1
Private Sub cmdPassword_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles cmdPassword.Click
If T1.Text = "Naomi" And T2.Text = "Vigo" And T3.Text = "Vigo" Then
MessageBox.Show("Welcome!", "Naomi", MessageBoxButtons.OK,
MessageBoxIcon.Information)
Form2.Show()
Else
MessageBox.Show("Invalid Log‐In Credentials!", "Naomi", MessageBoxButtons.OK,
MessageBoxIcon.Information)
End If
End Sub
Private Sub cmdRes_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles cmdRes.Click
T1.Text = ""
T2.Text = ""
T3.Text = ""
End Sub
Private Sub cmdEnd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles cmdEnd.Click
End
End Sub
End Class
Name: Naomi Rose G. Vigo Date: January 22, 2021
Grade and Section: 8 Cypress Class Number: G‐17
Performance Task #3‐3rd: Log‐in System
Name: Naomi Rose G. Vigo Date: January 22, 2021
Grade and Section: 8 Cypress Class Number: G‐17
Performance Task #3‐3rd: Log‐in System
CONCLUSION:
This program enables me to use If Conditional Statements in designing a Log‐In System. Wrong log in
credential will show message “"Invalid Log‐In Credentials!” in message box while correct log
in credentials will show message "Welcome!" in message box and then new window will open
only if correct log in credential is entered.
GENERALIZATION:
In this activity, I learned how to design a Log‐In System with If Conditional Statements. This works by
analyzing a given condition and decide which appropriate statement satisfies the given condition.
REFLECTION:
After performing this activity, I have discovered and learned how to use If Conditional Statements in
designing a Log‐In System. This is very important in any organization that needs to keep their networks
secure by permitting only authenticated users to access their protected resources.