-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTradingMarketForm.vb
33 lines (26 loc) · 1011 Bytes
/
TradingMarketForm.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Public Class TradingMarketForm
Private Sub loginbtn_Click(sender As Object, e As EventArgs) Handles offer1.Click
If My.Settings.piggies >= 10 Then
My.Settings.piggies -= 10
My.Settings.spins += 5
Main.update_labels()
Else
newmessage("Not enough piggies!")
End If
End Sub
Private Sub Guna2Button1_Click(sender As Object, e As EventArgs) Handles offer2.Click
If My.Settings.piggies >= 10 Then
My.Settings.piggies -= 10
My.Settings.coins += 250
Main.update_labels()
Else
newmessage("Not enough piggies!")
End If
End Sub
Private Sub TradingMarketForm_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
Private Sub Guna2PictureBox1_Click(sender As Object, e As EventArgs) Handles item2.Click
End Sub
Private Sub Guna2PictureBox2_Click(sender As Object, e As EventArgs) Handles item1.Click
End Sub
End Class