space
space
space
 
เมษายน 2561
 
1234567
891011121314
15161718192021
22232425262728
2930 
space
space
14 เมษายน 2561
space
space
space

[VB] แจกโค้ด FoodBill โปรแกรมคำนวณบิลค่าอาหาร + FILE





โค้ด Checkbox เมนูอาหาร
Private Sub Check1_Click()
If Check1.Value = "1" Then
Text1.Text = Text1.Text + 25
ElseIf Check1.Value = "0" Then
Text1.Text = Text1.Text - 25
End If
End Sub

Private Sub Check2_Click()
If Check2.Value = "1" Then
Text1.Text = Text1.Text + 30
ElseIf Check2.Value = "0" Then
Text1.Text = Text1.Text - 30
End If
End Sub

Private Sub Check3_Click()
If Check3.Value = "1" Then
Text1.Text = Text1.Text + 30
ElseIf Check3.Value = "0" Then
Text1.Text = Text1.Text - 30
End If
End Sub

Private Sub Check4_Click()
If Check4.Value = "1" Then
Text1.Text = Text1.Text + 35
ElseIf Check4.Value = "0" Then
Text1.Text = Text1.Text - 35
End If
End Sub

Private Sub Check5_Click()
If Check5.Value = "1" Then
Text1.Text = Text1.Text + 30
ElseIf Check5.Value = "0" Then
Text1.Text = Text1.Text - 30
End If
End Sub

Private Sub Check6_Click()
If Check6.Value = "1" Then
Text1.Text = Text1.Text + 15
ElseIf Check6.Value = "0" Then
Text1.Text = Text1.Text - 15
End If
End Sub

Private Sub Check7_Click()
If Check7.Value = "1" Then
Text1.Text = Text1.Text + 15
ElseIf Check7.Value = "0" Then
Text1.Text = Text1.Text - 15
End If
End Sub

Private Sub Check8_Click()
If Check8.Value = "1" Then
Text1.Text = Text1.Text + 15
ElseIf Check8.Value = "0" Then
Text1.Text = Text1.Text - 15
End If
End Sub

Private Sub Check9_Click()
If Check9.Value = "1" Then
Text1.Text = Text1.Text + 15
ElseIf Check9.Value = "0" Then
Text1.Text = Text1.Text - 15
End If
End Sub

Private Sub Check10_Click()
If Check10.Value = "1" Then
Text1.Text = Text1.Text + 15
ElseIf Check10.Value = "0" Then
Text1.Text = Text1.Text - 15
End If
End Sub






Private Sub Check11_Click()
If Check11.Value = "1" Then
Text1.Text = Text1.Text + 10
ElseIf Check11.Value = "0" Then
Text1.Text = Text1.Text - 10
End If
End Sub

Private Sub Check12_Click()
If Check12.Value = "1" Then
Text1.Text = Text1.Text + 10
ElseIf Check12.Value = "0" Then
Text1.Text = Text1.Text - 10
End If
End Sub

Private Sub Check13_Click()
If Check13.Value = "1" Then
Text1.Text = Text1.Text + 10
ElseIf Check13.Value = "0" Then
Text1.Text = Text1.Text - 10
End If
End Sub

Private Sub Check14_Click()
If Check14.Value = "1" Then
Text1.Text = Text1.Text + 10
ElseIf Check14.Value = "0" Then
Text1.Text = Text1.Text - 10
End If
End Sub

Private Sub Check15_Click()
If Check15.Value = "1" Then
Text1.Text = Text1.Text + 10
ElseIf Check11.Value = "0" Then
Text1.Text = Text1.Text - 10
End If
End Sub

Private Sub Check16_Click()
If Check16.Value = "1" Then
Text1.Text = Text1.Text + 10
ElseIf Check16.Value = "0" Then
Text1.Text = Text1.Text - 10
End If
End Sub

Private Sub Check17_Click()
If Check17.Value = "1" Then
Text1.Text = Text1.Text + 10
ElseIf Check17.Value = "0" Then
Text1.Text = Text1.Text - 10
End If
End Sub

Private Sub Check18_Click()
If Check18.Value = "1" Then
Text1.Text = Text1.Text + 10
ElseIf Check18.Value = "0" Then
Text1.Text = Text1.Text - 10
End If
End Sub

Private Sub Check19_Click()
If Check19.Value = "1" Then
Text1.Text = Text1.Text + 10
ElseIf Check19.Value = "0" Then
Text1.Text = Text1.Text - 10
End If
End Sub

Private Sub Check20_Click()
If Check20.Value = "1" Then
Text1.Text = Text1.Text + 10
ElseIf Check20.Value = "0" Then
Text1.Text = Text1.Text - 10
End If
End Sub







Create Date : 14 เมษายน 2561
Last Update : 14 เมษายน 2561 17:01:19 น. 0 comments
Counter : 958 Pageviews.

ชื่อ : * blog นี้ comment ได้เฉพาะสมาชิก
Comment :
  *ส่วน comment ไม่สามารถใช้ javascript และ style sheet
 
space

สมาชิกหมายเลข 3523224
Location :


[ดู Profile ทั้งหมด]

ฝากข้อความหลังไมค์
Rss Feed
ผู้ติดตามบล็อก : 1 คน [?]






space
space
[Add สมาชิกหมายเลข 3523224's blog to your web]
space
space
space
space
space