home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form admit
- BorderStyle = 0 'None
- Caption = "Nursing Admission Assessment"
- ClientHeight = 6765
- ClientLeft = 180
- ClientTop = 1380
- ClientWidth = 9480
- FontTransparent = 0 'False
- Height = 7170
- Left = 120
- LinkMode = 1 'Source
- LinkTopic = "Form1"
- MaxButton = 0 'False
- ScaleHeight = 6765
- ScaleWidth = 9480
- Tag = "cover"
- Top = 1035
- Width = 9600
- Begin Timer Timer1
- Left = 1800
- Top = 960
- End
- Begin SSPanel Panel3D1
- BackColor = &H00C0C0C0&
- BevelInner = 1 'Inset
- BevelWidth = 4
- BorderWidth = 5
- Caption = " COMMUNITY MEMORIAL HEALTHCENTER Nursing Admission Assessment"
- Font3D = 4 'Inset w/heavy shading
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "MS Serif"
- FontSize = 24
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- ForeColor = &H00000000&
- Height = 6855
- Left = 0
- Outline = -1 'True
- TabIndex = 0
- Top = 0
- Width = 9615
- Begin PictureBox Picture1
- BackColor = &H00C0C0C0&
- BorderStyle = 0 'None
- DrawMode = 6 'Invert
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "MS Serif"
- FontSize = 9.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- ForeColor = &H00FF0000&
- Height = 2055
- Left = 3720
- Picture = HEALTH.FRX:0000
- ScaleHeight = 2055
- ScaleWidth = 1575
- TabIndex = 1
- Top = 4560
- Width = 1575
- End
- Begin PictureBox Picture2
- AutoSize = -1 'True
- BackColor = &H00C0C0C0&
- BorderStyle = 0 'None
- Height = 480
- Left = 4080
- Picture = HEALTH.FRX:1ABC
- ScaleHeight = 480
- ScaleWidth = 480
- TabIndex = 2
- Top = 1200
- Width = 480
- End
- End
- Sub Form_Load ()
- SCREEN.MOUSEPOINTER = 11
- ' hard code for testing
- patientID(1) = pid1
- patientID(2) = pid2
- patientID(3) = pid3
- '*********************
- admit.Move -SCREEN.width - 10, 0, SCREEN.width, SCREEN.height
- panel3d1.Move admit.scaleleft, admit.scaletop, admit.scalewidth, admit.scaleheight
- panel3d1.caption = MainCompanyCaption$
- picture1.Move (admit.scalewidth - picture1.width) / 2, 3 * admit.height / 4 - picture1.height / 2
- picture2.Move (admit.scalewidth - picture2.width) / 2, admit.height / 4
- admit.Move 0, 0
- admit.picture1.autoredraw = -1
- admit.picture1.Scale (0, 0)-(3, 4)
- admit.picture1.currentx = .6
- admit.picture1.currenty = 1.2
- admit.picture1.Print "PLEASE"
- admit.picture1.currentx = .7
- admit.picture1.currenty = 1.8
- admit.picture1.Print "WAIT:"
- admit.picture1.currentx = .94
- admit.picture1.currenty = 2.5
- admit.picture1.Print "I'M"
- admit.picture1.currentx = .5
- admit.picture1.currenty = 2.95
- admit.picture1.Print "LOADING"
- admit.timer1.interval = 1
- admit.timer1.enabled = -1
- End Sub
- Sub Picture1_Click ()
- idform.Show
- admit.Hide
- End Sub
- Sub Picture1_DblClick ()
- picture1.Line (0, 0)-(picture1.scalewidth, picture1.scaleheight), , BF
- End Sub
- Sub Picture1_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
- picture1.Line (0, 0)-(picture1.scalewidth, picture1.scaleheight), , BF
- End Sub
- Sub Picture1_MouseUp (Button As Integer, Shift As Integer, X As Single, Y As Single)
- picture1.Line (0, 0)-(picture1.scalewidth, picture1.scaleheight), , BF
- End Sub
- Sub Timer1_Timer ()
- Static secondtime As Integer
- secondtime = secondtime + 1
- If secondtime = 1 Then
- Load assess2
- Load assess3
- End If
- timer1.interval = 10
- If secondtime = 2 Then
- idform.Show
- admit.Hide
- timer1.enabled = 0
- secondtime = 0
- End If
- End Sub
-