home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmLottery
- Caption = "3-6-8"
- ClientHeight = 1290
- ClientLeft = 1095
- ClientTop = 1485
- ClientWidth = 2610
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- LinkTopic = "Form1"
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 1290
- ScaleWidth = 2610
- Begin VB.PictureBox picNumber
- Height = 375
- Left = 720
- ScaleHeight = 315
- ScaleWidth = 1155
- TabIndex = 1
- Top = 120
- Width = 1215
- End
- Begin VB.CommandButton cmdDisplayANumber
- Caption = "Display Lottery Number"
- Height = 495
- Left = 240
- TabIndex = 0
- Top = 720
- Width = 2175
- End
- Attribute VB_Name = "frmLottery"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub cmdDisplayANumber_Click()
- 'Display a lottery number
- picNumber.Cls
- Randomize
- picNumber.Print Int(10 * Rnd);
- picNumber.Print Int(10 * Rnd);
- picNumber.Print Int(10 * Rnd)
- End Sub
-