top
logo

ចំនួនអ្នកទស្សនា

033085
Today105
Yesterday115
This Week346
This Month920
All Days33085
38.107.191.85
US


លេខទូរស័ព្ទសង្គ្រោះបន្ទាន់ មន្ទីរពេទ្យសាធារណៈនៅភ្នំពេញ
d

១. រថយន្តសាមុយ មន្ទីរពេទ្យ​កាល់ម៉ែត= 119
២. រថយន្តសង្គ្រោះ មន្ទីរពេទ្យ​រុស្ស៊ី= 023 217 764
= វិទ្យុទាក់ទង (151940)
៣. រថយន្តសង្គ្រោះ មន្ទីរពេទ្យ​ព្រះសង្ឃ= 016 909 774
៤. លេខប្រចាំការ (Hot Line) គ្រុនផ្ដាសាយ A(H1N1)= 012 488 981
= 012 836 868

Create Hang Man Game in Visual Basic 6 បោះពុម្ភ  សារអេឡិចត្រូនិច
សរសេរដោយ Setha IECH   
ពុធ, 05 ឧសភា 2010 13:44

     

    -----------------------------------------------

    Dim i As Integer: i = 1
    Dim isCorrectWord As Boolean: isCorrectWord = False
    Dim MyWord As String
   
    While Mid(MyStr, i, 1) & "" <> ""
        If Mid(MyStr, i, 1) = Right(txtLetter.Text, 1) Then
           MyWord = MyWord & Right(txtLetter.Text, 1)
           If Mid(lblWordGuess.Caption, i, 1) <> _
              Right(txtLetter.Text, 1) Then _
                isCorrectWord = True
        Else
            MyWord = MyWord & Mid(lblWordGuess.Caption, i, 1)
        End If
        i = i + 1
    Wend
    txtTotalGuess = txtTotalGuess + 1
    If Not isCorrectWord Then
        txtWrongGuess = txtWrongGuess + 1
        If txtWrongGuess = 1 Then shapeHead.Visible = True
        If txtWrongGuess = 2 Then
           lineEye1.Visible = True: lineEye2.Visible = True
           lineEye3.Visible = True: lineEye4.Visible = True
           lineNose.Visible = True: lineMouth.Visible = True
        End If
        If txtWrongGuess = 3 Then lineNeck.Visible = True
        If txtWrongGuess = 4 Then lineHandL.Visible = True
        If txtWrongGuess = 5 Then lineHandR.Visible = True
        If txtWrongGuess = 6 Then lineBody.Visible = True
        If txtWrongGuess = 7 Then lineLegL.Visible = True
        If txtWrongGuess = 8 Then lineLegR.Visible = True
    End If

---------------------------------------------------

Download Source Code Here

 

bottom
top
bottom

ផលិតដោយ krookroo.com.