home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual BASIC 5.0 (Ent. Edition) / Vb5ent Extractor.EXE / VB / SAMPLES / PGUIDE / PROGWOB / PWOISHAP.CLS < prev    next >
Encoding:
Visual Basic class definition  |  1996-11-26  |  1000 b   |  35 lines

  1. VERSION 1.0 CLASS
  2. BEGIN
  3.   MultiUse = -1  'True
  4. END
  5. Attribute VB_Name = "IShape"
  6. Attribute VB_GlobalNameSpace = False
  7. Attribute VB_Creatable = True
  8. Attribute VB_PredeclaredId = False
  9. Attribute VB_Exposed = False
  10. Option Explicit
  11.  
  12. ' The IShape class module is an "abstract
  13. '   class" that defines the IShape
  14. '   interface.  (Properly speaking, this is
  15. '   not an abstract class:  A true abstract
  16. '   class cannot be used to create objects.
  17. '   This class, like any class defined in
  18. '   Visual Basic, can be used to create
  19. '   objects -- but those objects would not
  20. '   be particularly useful because, like
  21. '   a true abstract class, there are
  22. '   members with no implementation.)
  23.  
  24. ' TimeTest method takes no arguments, and
  25. ' --------      its implementation is
  26. '   always void -- that is, it executes
  27. '   no code.  Its only purpose is to
  28. '   illustrate early vs. late binding.
  29. Public Sub TimeTest()
  30. End Sub
  31.  
  32. Public Sub DrawToPictureBox(ByVal pb As PictureBox)
  33. End Sub
  34.  
  35.