Advertisement
Guest User

Untitled

a guest
Oct 4th, 2015
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. Public Class myClass
  2. public x as integer
  3. End Class
  4.  
  5. ...
  6. dim newClass as myClass = New myClass
  7. newClass.x = 1
  8. ...
  9.  
  10. Public Class Form2
  11. Private Sub Form2_Load(sender As Object, e As EventArgs) Handles MyBase.Load
  12.  
  13. If newClass.x = 1 then
  14. msgbox("success")
  15. end if
  16.  
  17. End Sub
  18.  
  19. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement