Advertisement
Guest User

...

a guest
Nov 7th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 1.04 KB | None | 0 0
  1. Public Class Form1
  2.  
  3.     ' if i have Dim _ezlib = New EZLib.EzLib() put here it doesn't tell me all the functions i can use when typing in _ezlib.
  4.     ' btw this is a test thing so i can get to know ezlib before putting it in my shit ya know
  5.  
  6.     Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
  7.         Dim _ezlib = New EZLib.EzLib()
  8.         _ezlib.Initialize("6628339352")
  9.         _ezlib.CheckLicense()
  10.         If _ezlib.IsLicensedResponse = True Then
  11.             MessageBox.Show("Now Licensed!")
  12.         Else
  13.             MessageBox.Show("Not Licensed!")
  14.         End If
  15.     End Sub
  16.  
  17.     Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
  18.         Dim _ezlib = New EZLib.EzLib()
  19.         _ezlib.Initialize("6628339352")
  20.         _ezlib.RegisterLicense(textbox1.text)
  21.         _ezlib.CheckLicense()
  22.         If _ezlib.IsLicensedResponse = True Then
  23.             MessageBox.Show("Now Licensed!")
  24.         Else
  25.             MessageBox.Show("Not Licensed!")
  26.         End If
  27.     End Sub
  28. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement