Advertisement
binjeeclick

dash

Nov 26th, 2018
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.49 KB | None | 0 0
  1. Public Class FDashbord
  2.     Private Sub Login_Click(sender As Object, e As EventArgs) Handles Login.Click
  3.         Try
  4.             If Login.Text = "Logout" Then
  5.                 Pemasukan.Enabled = False
  6.                 Pengeluaran.Enabled = False
  7.                 Kas.Enabled = False
  8.                 Login.Text = "Login"
  9.             Else
  10.                 FLogin.ShowDialog()
  11.             End If
  12.         Catch ex As Exception
  13.             MsgBox(ex.Message)
  14.         End Try
  15.     End Sub
  16. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement