Skip to content

Commit

Permalink
Fix header
Browse files Browse the repository at this point in the history
because it's really important
  • Loading branch information
AConsolePeasant authored and AConsolePeasant committed Aug 8, 2016
1 parent b6c1e0e commit 6fd7c4d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions EO-Flashcards/EO-Flashcards/Form1.vb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
' Esperanto Flash Cards
' Author - AConsolePeasant
' Last modified - Check on the git page, I shouldn't have to update this for you.
' https://github.com/AConsolePeasant/EO-Flashcards

Public Class frmMain
Private Sub btnLogin_Click(sender As Object, e As EventArgs) Handles btnLogin.Click
Expand Down
7 changes: 6 additions & 1 deletion EO-Flashcards/EO-Flashcards/frmAdmin.vb
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
Public Class frmAdmin
' Esperanto Flash Cards
' Author - AConsolePeasant
' Last modified - Check on the git page, I shouldn't have to update this for you.
' https://github.com/AConsolePeasant/EO-Flashcards

Public Class frmAdmin
Private Sub btnAdminPassword_Click(sender As Object, e As EventArgs) Handles btnAdminPassword.Click
My.Settings.AdminPassword = InputBox("Enter New Password WARNING, this will change with no confirmation, and if spelt wrong, will set that.")
'This instantly changes the admin password.
Expand Down
7 changes: 6 additions & 1 deletion EO-Flashcards/EO-Flashcards/frmAdminLogin.vb
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
Public Class frmAdminLogin
' Esperanto Flash Cards
' Author - AConsolePeasant
' Last modified - Check on the git page, I shouldn't have to update this for you.
' https://github.com/AConsolePeasant/EO-Flashcards

Public Class frmAdminLogin
Private Sub btnLogin_Click(sender As Object, e As EventArgs) Handles btnLogin.Click
If txtPassword.Text = My.Settings.AdminPassword Then
frmAdmin.Show()
Expand Down

0 comments on commit 6fd7c4d

Please sign in to comment.