Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Public Class Form1
- Dim p As Integer ' Позиция
- Dim s As Integer ' Спавн (0 - террористы, 1 - контртеррористы)
- Dim c As Integer ' Обзор
- Dim l As Integer ' Поворот влево
- Dim r As Integer ' Поворот вправо
- Dim n As String ' Имя игрока
- Dim h As Integer ' Здоровье
- Dim ar As Integer ' Броня
- Dim m As Integer ' Деньги
- Dim w As Integer ' Оружие
- Dim am As Integer ' Боеприпасы
- Dim k As Integer ' Убийства
- Dim d As Integer ' Смерть
- Dim se As Integer ' Секунды
- Dim mi As Integer ' Минуты
- Dim ro As Integer ' Количество раундов
- Dim seb As Integer ' Секунды для закупки
- Dim sec As Integer ' Секунды для бомбы
- Dim re As Integer ' Результат раунда
- Dim reg As Integer ' Результат игры
- Dim ra As New Random ' Рандомный выбор команд
- Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
- Timer1.start()
- Me.KeyPreview = True
- PictureBox.Hide()
- PictureBox2.Hide()
- PictureBox3.Hide()
- Button1.Hide()
- Button2.Hide()
- Button3.Hide()
- Button4.Hide()
- Button5.Hide()
- Button6.Hide()
- Button7.Hide()
- Button8.Hide()
- Button9.Hide()
- Button10.Hide()
- Button11.Hide()
- Button12.Hide()
- Button13.Hide()
- Button14.Hide()
- Button15.Hide()
- Button16.Hide()
- Button17.Hide()
- Button18.Hide()
- Button19.Hide()
- Button20.Hide()
- Button21.Hide()
- Button22.Hide()
- Button23.Hide()
- Button24.Hide()
- Button25.Hide()
- Button26.Hide()
- Button27.Hide()
- Button28.Hide()
- Button29.Hide()
- Button30.Hide()
- Button31.Hide()
- Button32.Hide()
- Button33.Hide()
- Button34.Hide()
- Button35.Hide()
- Button36.Hide()
- Button37.Hide()
- Button38.Hide()
- Button39.Hide()
- Button40.Hide()
- Button41.Hide()
- Button42.Hide()
- Button43.Hide()
- Button44.Hide()
- Button45.Hide()
- Button46.Hide()
- Button47.Hide()
- Button48.Hide()
- Button49.Hide()
- Button50.Hide()
- Button51.Hide()
- Button52.Hide()
- Button53.Hide()
- Button54.Hide()
- Button55.Hide()
- Button57.Hide()
- Button58.Hide()
- Button59.Hide()
- Button60.Hide()
- Button61.Hide()
- PictureBox4.Hide()
- Button62.Hide()
- Button63.Hide()
- Button64.Hide()
- Button65.Hide()
- Label1.Hide()
- TextBox1.Hide()
- CheckBox1.Hide()
- CheckBox2.Hide()
- Button66.Hide()
- TextBox2.Hide()
- TextBox4.Hide()
- TextBox5.Hide()
- TextBox6.Hide()
- TextBox7.Hide()
- TextBox8.Hide()
- TextBox9.Hide()
- End Sub
- Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
- If e.KeyCode = Keys.K Then
- l = l + 1
- If l = 1 Then c = c + 1
- If l = 2 Then c = c + 1
- If l = 3 Then c = c + 1
- If l = 4 Then c = c + 1 : l = 0 And c = 0
- If p = 0 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0000
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0001
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0002
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0003
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0000 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0000
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0003
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0002
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0001
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0000 : c = 0
- End If
- If p = 1 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0004
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0005
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0006
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0007
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0004 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0004
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0007
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0006
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0005
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0004 : c = 0
- End If
- If p = 2 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0011
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0008
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0009
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0010
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0011 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0011
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0010
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0009
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0008
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0011 : c = 0
- End If
- If p = 3 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0015
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0012
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0013
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0014
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0015 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0015
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0014
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0013
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0012
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0015 : c = 0
- End If
- If p = 4 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0016
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0017
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0018
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0019
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0016 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0016
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0019
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0018
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0017
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0016 : c = 0
- End If
- If p = 5 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0063
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0060
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0061
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0062
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0063 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0063
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0062
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0061
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0060
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0063 : c = 0
- End If
- If p = 6 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0067
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0064
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0065
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0066
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0067 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0067
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0066
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0065
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0064
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0067 : c = 0
- End If
- If p = 7 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0068
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0069
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0070
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0071
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0068 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0068
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0071
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0070
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0069
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0068 : c = 0
- End If
- If p = 8 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0072
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0073
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0074
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0075
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0072 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0072
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0075
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0074
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0073
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0072 : c = 0
- End If
- If p = 9 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0079
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0076
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0077
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0078
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0079 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0079
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0078
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0077
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0076
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0079 : c = 0
- End If
- If p = 10 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0091
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0088
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0089
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0090
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0091 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0091
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0090
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0089
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0088
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0091 : c = 0
- End If
- If p = 11 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0095
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0092
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0093
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0094
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0095 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0095
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0094
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0093
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0092
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0095 : c = 0
- End If
- If p = 12 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0056
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0057
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0058
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0059
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0056 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0056
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0059
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0058
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0057
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0056 : c = 0
- End If
- If p = 13 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0097
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0098
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0099
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0100
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0097 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0097
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0100
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0099
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0098
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0097 : c = 0
- End If
- If p = 14 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0022
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0023
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0020
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0021
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0022 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0022
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0021
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0020
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0023
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0022 : c = 0
- End If
- If p = 15 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0027
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0024
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0025
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0026
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0027 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0027
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0026
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0025
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0024
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0027 : c = 0
- End If
- If p = 16 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0034
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0035
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0032
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0033
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0034 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0034
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0033
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0032
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0035
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0034 : c = 0
- End If
- If p = 17 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0031
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0028
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0029
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0030
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0031 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0031
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0030
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0029
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0028
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0031 : c = 0
- End If
- If p = 18 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0043
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0040
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0041
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0042
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0043 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0043
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0042
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0041
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0040
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0043 : c = 0
- End If
- If p = 19 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0044
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0045
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0046
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0047
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0044 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0044
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0047
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0046
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0045
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0044 : c = 0
- End If
- If p = 20 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0051
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0048
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0049
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0050
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0051 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0051
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0050
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0049
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0048
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0051 : c = 0
- End If
- If p = 21 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0055
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0052
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0053
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0054
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0055 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0055
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0054
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0053
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0052
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0055 : c = 0
- End If
- If p = 22 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0039
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0036
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0037
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0038
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0039 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0039
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0038
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0037
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0036
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0039 : c = 0
- End If
- If p = 23 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0082
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0083
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0080
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0081
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0082 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0082
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0081
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0080
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0083
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0082 : c = 0
- End If
- If p = 24 Then
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0086
- If c = 1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0087
- If c = 2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0084
- If c = 3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0085
- If c = 4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0086 : c = 0
- If c = 0 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0086
- If c = -1 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0085
- If c = -2 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0084
- If c = -3 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0087
- If c = -4 Then PictureBox.image = My.Resources.de_dust2_2x2_lite0086 : c = 0
- End If
- If p = 0 And c = 0 Then
- Button1.Show()
- Button1.Focus()
- Else
- Button1.Hide()
- End If
- If p = 1 And (c = 2 Or c = -2) Then
- Button2.Show()
- Button2.Focus()
- Else
- Button2.Hide()
- End If
- If p = 1 And (c = 1 Or c = -3) Then
- Button3.Show()
- Button3.Focus()
- Else
- Button3.Hide()
- End If
- If p = 2 And (c = 3 Or c = -1) Then
- Button4.Show()
- Button4.Focus()
- Else
- Button4.Hide()
- End If
- If p = 2 And (c = 1 Or c = -3) Then
- Button5.Show()
- Button5.Focus()
- Else
- Button5.Hide()
- End If
- If p = 3 And (c = 3 Or c = -1) Then
- Button6.Show()
- Button6.Focus()
- Else
- Button6.Hide()
- End If
- If p = 3 And c = 0 Then
- Button7.Show()
- Button7.Focus()
- Else
- Button7.Hide()
- End If
- If p = 4 And (c = 2 Or c = -2) Then
- Button8.Show()
- Button8.Focus()
- Else
- Button8.Hide()
- End If
- If p = 4 And (c = 1 Or c = -3) Then
- Button9.Show()
- Button9.Focus()
- Else
- Button9.Hide()
- End If
- If p = 5 And (c = 3 Or c = -1) Then
- Button10.Show()
- Button10.Focus()
- Else
- Button10.Hide()
- End If
- If p = 5 And (c = 1 Or c = -3) Then
- Button11.Show()
- Button11.Focus()
- Else
- Button11.Hide()
- End If
- If p = 6 And (c = 3 Or c = -1) Then
- Button12.Show()
- Button12.Focus()
- Else
- Button12.Hide()
- End If
- If p = 6 And c = 0 Then
- Button13.Show()
- Button13.Focus()
- Else
- Button13.Hide()
- End If
- If p = 7 And (c = 2 Or c = -2) Then
- Button14.Show()
- Button14.Focus()
- Else
- Button14.Hide()
- End If
- If p = 7 And c = 0 Then
- Button15.Show()
- Button15.Focus()
- Else
- Button15.Hide()
- End If
- If p = 8 And (c = 2 Or c = -2) Then
- Button16.Show()
- Button16.Focus()
- Else
- Button16.Hide()
- End If
- If p = 8 And (c = 1 Or c = -3) Then
- Button17.Show()
- Button17.Focus()
- Else
- Button17.Hide()
- End If
- If p = 9 And (c = 3 Or c = -1) Then
- Button18.Show()
- Button18.Focus()
- Else
- Button18.Hide()
- End If
- If p = 9 And (c = 1 Or c = -3) Then
- Button19.Show()
- Button19.Focus()
- Else
- Button19.Hide()
- End If
- If p = 10 And (c = 3 Or c = -1) Then
- Button20.Show()
- Button20.Focus()
- Else
- Button20.Hide()
- End If
- If p = 10 And (c = 2 Or c = -2) Then
- Button21.Show()
- Button21.Focus()
- Else
- Button21.Hide()
- End If
- If p = 11 And c = 0 Then
- Button22.Show()
- Button22.Focus()
- Else
- Button22.Hide()
- End If
- If p = 11 And (c = 3 Or c = -1) Then
- Button23.Show()
- Button23.Focus()
- Else
- Button23.Hide()
- End If
- If p = 12 And (c = 1 Or c = -3) Then
- Button24.Show()
- Button24.Focus()
- Else
- Button24.Hide()
- End If
- If p = 12 And (c = 3 Or c = -1) Then
- Button25.Show()
- Button25.Focus()
- Else
- Button25.Hide()
- End If
- If p = 13 And (c = 1 Or c = -3) Then
- Button26.Show()
- Button26.Focus()
- Else
- Button26.Hide()
- End If
- If p = 13 Then
- Button27.Show()
- Button27.Focus()
- Else
- Button27.Hide()
- End If
- If p = 2 And (c = 2 Or c = -2) Then
- Button28.Show()
- Button28.Focus()
- Else
- Button28.Hide()
- End If
- If p = 14 And c = 0 Then
- Button29.Show()
- Button29.Focus()
- Else
- Button29.Hide()
- End If
- If p = 14 And (c = 1 Or c = -3) Then
- Button30.Show()
- Button30.Focus()
- Else
- Button30.Hide()
- End If
- If p = 15 And (c = 3 Or c = -1) Then
- Button31.Show()
- Button31.Focus()
- Else
- Button31.Hide()
- End If
- If p = 15 And (c = 1 Or c = -3) Then
- Button32.Show()
- Button32.Focus()
- Else
- Button32.Hide()
- End If
- If p = 22 And (c = 3 Or c = -1) Then
- Button33.Show()
- Button33.Focus()
- Else
- Button33.Hide()
- End If
- If p = 15 And c = 0 Then
- Button34.Show()
- Button34.Focus()
- Else
- Button34.Hide()
- End If
- If p = 16 And (c = 2 Or c = -2) Then
- Button35.Show()
- Button35.Focus()
- Else
- Button35.Hide()
- End If
- If p = 16 And c = 0 Then
- Button36.Show()
- Button36.Focus()
- Else
- Button36.Hide()
- End If
- If p = 17 And (c = 2 Or c = -2) Then
- Button37.Show()
- Button37.Focus()
- Else
- Button37.Hide()
- End If
- If p = 17 And (c = 3 Or c = -1) Then
- Button38.Show()
- Button38.Focus()
- Else
- Button38.Hide()
- End If
- If p = 3 And (c = 1 Or c = -3) Then
- Button39.Show()
- Button39.Focus()
- Else
- Button39.Hide()
- End If
- If p = 16 And (c = 1 Or c = -3) Then
- Button40.Show()
- Button40.Focus()
- Else
- Button40.Hide()
- End If
- If p = 18 And (c = 3 Or c = -1) Then
- Button41.Show()
- Button41.Focus()
- Else
- Button41.Hide()
- End If
- If p = 18 And c = 0 Then
- Button42.Show()
- Button42.Focus()
- Else
- Button42.Hide()
- End If
- If p = 19 And (c = 2 Or c = -2) Then
- Button43.Show()
- Button43.Focus()
- Else
- Button43.Hide()
- End If
- If p = 19 And (c = 1 Or c = -3) Then
- Button44.Show()
- Button44.Focus()
- Else
- Button44.Hide()
- End If
- If p = 20 And (c = 3 Or c = -1) Then
- Button45.Show()
- Button45.Focus()
- Else
- Button45.Hide()
- End If
- If p = 20 And (c = 1 Or c = -3) Then
- Button46.Show()
- Button46.Focus()
- Else
- Button46.Hide()
- End If
- If p = 21 And (c = 3 Or c = -1) Then
- Button47.Show()
- Button47.Focus()
- Else
- Button47.Hide()
- End If
- If p = 21 And c = 0 Then
- Button48.Show()
- Button48.Focus()
- Else
- Button48.Hide()
- End If
- If p = 12 And (c = 2 Or c = -2) Then
- Button49.Show()
- Button49.Focus()
- Else
- Button49.Hide()
- End If
- If p = 9 And (c = 2 Or c = -2) Then
- Button50.Show()
- Button50.Focus()
- Else
- Button50.Hide()
- End If
- If p = 23 And c = 0 Then
- Button51.Show()
- Button51.Focus()
- Else
- Button51.Hide()
- End If
- If p = 23 And (c = 2 Or c = -2) Then
- Button52.Show()
- Button52.Focus()
- Else
- Button52.Hide()
- End If
- If p = 24 And c = 0 Then
- Button53.Show()
- Button53.Focus()
- Else
- Button53.Hide()
- End If
- End If
- If e.KeyCode = Keys.L Then
- r = r + 1
- If r = 1 Then c = c - 1
- If r = 2 Then c = c - 1
- If r = 3 Then c = c - 1
- If r = 4 Then c = c - 1 : r = 0 And c = 0
- If p = 0 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0000
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0001
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0002
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0003
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0000 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0000
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0003
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0002
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0001
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0000 : c = 0
- End If
- If p = 1 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0004
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0005
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0006
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0007
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0004 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0004
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0007
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0006
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0005
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0004 : c = 0
- End If
- If p = 2 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0011
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0008
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0009
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0010
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0011 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0011
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0010
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0009
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0008
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0011 : c = 0
- End If
- If p = 3 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0015
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0012
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0013
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0014
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0015 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0015
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0014
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0013
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0012
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0015 : c = 0
- End If
- If p = 4 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0016
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0017
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0018
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0019
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0016 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0016
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0019
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0018
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0017
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0016 : c = 0
- End If
- If p = 5 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0063
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0060
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0061
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0062
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0063 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0063
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0062
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0061
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0060
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0063 : c = 0
- End If
- If p = 6 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0067
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0064
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0065
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0066
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0067 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0067
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0066
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0065
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0064
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0067 : c = 0
- End If
- If p = 7 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0068
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0069
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0070
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0071
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0068 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0068
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0071
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0070
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0069
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0068 : c = 0
- End If
- If p = 8 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0072
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0073
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0074
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0075
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0072 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0072
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0075
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0074
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0073
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0072 : c = 0
- End If
- If p = 9 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0079
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0076
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0077
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0078
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0079 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0079
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0078
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0077
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0076
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0079 : c = 0
- End If
- If p = 10 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0091
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0088
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0089
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0090
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0091 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0091
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0090
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0089
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0088
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0091 : c = 0
- End If
- If p = 11 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0095
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0092
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0093
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0094
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0095 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0095
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0094
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0093
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0092
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0095 : c = 0
- End If
- If p = 12 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0056
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0057
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0058
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0059
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0056 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0056
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0059
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0058
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0057
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0056 : c = 0
- End If
- If p = 13 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0097
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0098
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0099
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0100
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0097 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0097
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0100
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0099
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0098
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0097 : c = 0
- End If
- If p = 14 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0022
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0023
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0020
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0021
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0022 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0022
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0021
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0020
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0023
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0022 : c = 0
- End If
- If p = 15 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0027
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0024
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0025
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0026
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0027 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0027
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0026
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0025
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0024
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0027 : c = 0
- End If
- If p = 16 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0034
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0035
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0032
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0033
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0034 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0034
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0033
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0032
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0035
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0034 : c = 0
- End If
- If p = 17 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0031
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0028
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0029
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0030
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0031 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0031
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0030
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0029
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0028
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0031 : c = 0
- End If
- If p = 18 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0043
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0040
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0041
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0042
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0043 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0043
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0042
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0041
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0040
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0043 : c = 0
- End If
- If p = 19 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0044
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0045
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0046
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0047
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0044 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0044
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0047
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0046
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0045
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0044 : c = 0
- End If
- If p = 20 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0051
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0048
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0049
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0050
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0051 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0051
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0050
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0049
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0048
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0051 : c = 0
- End If
- If p = 21 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0055
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0052
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0053
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0054
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0055 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0055
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0054
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0053
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0052
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0055 : c = 0
- End If
- If p = 22 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0039
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0036
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0037
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0038
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0039 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0039
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0038
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0037
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0036
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0039 : c = 0
- End If
- If p = 23 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0082
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0083
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0080
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0081
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0082 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0082
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0081
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0080
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0083
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0082 : c = 0
- End If
- If p = 24 Then
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0086
- If c = 1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0087
- If c = 2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0084
- If c = 3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0085
- If c = 4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0086 : c = 0
- If c = 0 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0086
- If c = -1 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0085
- If c = -2 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0084
- If c = -3 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0087
- If c = -4 Then PictureBox.Image = My.Resources.de_dust2_2x2_lite0086 : c = 0
- End If
- If p = 0 And c = 0 Then
- Button1.Show()
- Button1.Focus()
- Else
- Button1.Hide()
- End If
- If p = 1 And (c = 2 Or c = -2) Then
- Button2.Show()
- Button2.Focus()
- Else
- Button2.Hide()
- End If
- If p = 1 And (c = 1 Or c = -3) Then
- Button3.Show()
- Button3.Focus()
- Else
- Button3.Hide()
- End If
- If p = 2 And (c = 3 Or c = -1) Then
- Button4.Show()
- Button4.Focus()
- Else
- Button4.Hide()
- End If
- If p = 2 And (c = 1 Or c = -3) Then
- Button5.Show()
- Button5.Focus()
- Else
- Button5.Hide()
- End If
- If p = 3 And (c = 3 Or c = -1) Then
- Button6.Show()
- Button6.Focus()
- Else
- Button6.Hide()
- End If
- If p = 3 And c = 0 Then
- Button7.Show()
- Button7.Focus()
- Else
- Button7.Hide()
- End If
- If p = 4 And (c = 2 Or c = -2) Then
- Button8.Show()
- Button8.Focus()
- Else
- Button8.Hide()
- End If
- If p = 4 And (c = 1 Or c = -3) Then
- Button9.Show()
- Button9.Focus()
- Else
- Button9.Hide()
- End If
- If p = 5 And (c = 3 Or c = -1) Then
- Button10.Show()
- Button10.Focus()
- Else
- Button10.Hide()
- End If
- If p = 5 And (c = 1 Or c = -3) Then
- Button11.Show()
- Button11.Focus()
- Else
- Button11.Hide()
- End If
- If p = 6 And (c = 3 Or c = -1) Then
- Button12.Show()
- Button12.Focus()
- Else
- Button12.Hide()
- End If
- If p = 6 And c = 0 Then
- Button13.Show()
- Button13.Focus()
- Else
- Button13.Hide()
- End If
- If p = 7 And (c = 2 Or c = -2) Then
- Button14.Show()
- Button14.Focus()
- Else
- Button14.Hide()
- End If
- If p = 7 And c = 0 Then
- Button15.Show()
- Button15.Focus()
- Else
- Button15.Hide()
- End If
- If p = 8 And (c = 2 Or c = -2) Then
- Button16.Show()
- Button16.Focus()
- Else
- Button16.Hide()
- End If
- If p = 8 And (c = 1 Or c = -3) Then
- Button17.Show()
- Button17.Focus()
- Else
- Button17.Hide()
- End If
- If p = 9 And (c = 3 Or c = -1) Then
- Button18.Show()
- Button18.Focus()
- Else
- Button18.Hide()
- End If
- If p = 9 And (c = 1 Or c = -3) Then
- Button19.Show()
- Button19.Focus()
- Else
- Button19.Hide()
- End If
- If p = 10 And (c = 3 Or c = -1) Then
- Button20.Show()
- Button20.Focus()
- Else
- Button20.Hide()
- End If
- If p = 10 And (c = 2 Or c = -2) Then
- Button21.Show()
- Button21.Focus()
- Else
- Button21.Hide()
- End If
- If p = 11 And c = 0 Then
- Button22.Show()
- Button22.Focus()
- Else
- Button22.Hide()
- End If
- If p = 11 And (c = 3 Or c = -1) Then
- Button23.Show()
- Button23.Focus()
- Else
- Button23.Hide()
- End If
- If p = 12 And (c = 1 Or c = -3) Then
- Button24.Show()
- Button24.Focus()
- Else
- Button24.Hide()
- End If
- If p = 12 And (c = 3 Or c = -1) Then
- Button25.Show()
- Button25.Focus()
- Else
- Button25.Hide()
- End If
- If p = 13 And (c = 1 Or c = -3) Then
- Button26.Show()
- Button26.Focus()
- Else
- Button26.Hide()
- End If
- If p = 13 Then
- Button27.Show()
- Button27.Focus()
- Else
- Button27.Hide()
- End If
- If p = 2 And (c = 2 Or c = -2) Then
- Button28.Show()
- Button28.Focus()
- Else
- Button28.Hide()
- End If
- If p = 14 And c = 0 Then
- Button29.Show()
- Button29.Focus()
- Else
- Button29.Hide()
- End If
- If p = 14 And (c = 1 Or c = -3) Then
- Button30.Show()
- Button30.Focus()
- Else
- Button30.Hide()
- End If
- If p = 15 And (c = 3 Or c = -1) Then
- Button31.Show()
- Button31.Focus()
- Else
- Button31.Hide()
- End If
- If p = 15 And (c = 1 Or c = -3) Then
- Button32.Show()
- Button32.Focus()
- Else
- Button32.Hide()
- End If
- If p = 22 And (c = 3 Or c = -1) Then
- Button33.Show()
- Button33.Focus()
- Else
- Button33.Hide()
- End If
- If p = 15 And c = 0 Then
- Button34.Show()
- Button34.Focus()
- Else
- Button34.Hide()
- End If
- If p = 16 And (c = 2 Or c = -2) Then
- Button35.Show()
- Button35.Focus()
- Else
- Button35.Hide()
- End If
- If p = 16 And c = 0 Then
- Button36.Show()
- Button36.Focus()
- Else
- Button36.Hide()
- End If
- If p = 17 And (c = 2 Or c = -2) Then
- Button37.Show()
- Button37.Focus()
- Else
- Button37.Hide()
- End If
- If p = 17 And (c = 3 Or c = -1) Then
- Button38.Show()
- Button38.Focus()
- Else
- Button38.Hide()
- End If
- If p = 3 And (c = 1 Or c = -3) Then
- Button39.Show()
- Button39.Focus()
- Else
- Button39.Hide()
- End If
- If p = 16 And (c = 1 Or c = -3) Then
- Button40.Show()
- Button40.Focus()
- Else
- Button40.Hide()
- End If
- If p = 18 And (c = 3 Or c = -1) Then
- Button41.Show()
- Button41.Focus()
- Else
- Button41.Hide()
- End If
- If p = 18 And c = 0 Then
- Button42.Show()
- Button42.Focus()
- Else
- Button42.Hide()
- End If
- If p = 19 And (c = 2 Or c = -2) Then
- Button43.Show()
- Button43.Focus()
- Else
- Button43.Hide()
- End If
- If p = 19 And (c = 1 Or c = -3) Then
- Button44.Show()
- Button44.Focus()
- Else
- Button44.Hide()
- End If
- If p = 20 And (c = 3 Or c = -1) Then
- Button45.Show()
- Button45.Focus()
- Else
- Button45.Hide()
- End If
- If p = 20 And (c = 1 Or c = -3) Then
- Button46.Show()
- Button46.Focus()
- Else
- Button46.Hide()
- End If
- If p = 21 And (c = 3 Or c = -1) Then
- Button47.Show()
- Button47.Focus()
- Else
- Button47.Hide()
- End If
- If p = 21 And c = 0 Then
- Button48.Show()
- Button48.Focus()
- Else
- Button48.Hide()
- End If
- If p = 12 And (c = 2 Or c = -2) Then
- Button49.Show()
- Button49.Focus()
- Else
- Button49.Hide()
- End If
- If p = 9 And (c = 2 Or c = -2) Then
- Button50.Show()
- Button50.Focus()
- Else
- Button50.Hide()
- End If
- If p = 23 And c = 0 Then
- Button51.Show()
- Button51.Focus()
- Else
- Button51.Hide()
- End If
- If p = 23 And (c = 2 Or c = -2) Then
- Button52.Show()
- Button52.Focus()
- Else
- Button52.Hide()
- End If
- If p = 24 And c = 0 Then
- Button53.Show()
- Button53.Focus()
- Else
- Button53.Hide()
- End If
- End If
- End Sub
- Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
- p = 1
- c = 0
- PictureBox.image = My.Resources.de_dust2_2x2_lite0004
- Button1.Hide()
- End Sub
- Private Sub button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
- p = 0
- c = 2
- PictureBox.image = My.Resources.de_dust2_2x2_lite0002
- Button2.Hide()
- End Sub
- Private Sub button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
- p = 2
- c = 1
- PictureBox.image = My.Resources.de_dust2_2x2_lite0008
- Button3.Hide()
- Button5.Show()
- Button5.Focus()
- End Sub
- Private Sub button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
- p = 1
- c = 3
- PictureBox.image = My.Resources.de_dust2_2x2_lite0007
- button4.Hide()
- End Sub
- Private Sub button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
- p = 3
- c = 1
- PictureBox.image = My.Resources.de_dust2_2x2_lite0012
- button5.Hide()
- Button39.Show()
- Button39.Focus()
- End Sub
- Private Sub button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
- p = 2
- c = 3
- PictureBox.image = My.Resources.de_dust2_2x2_lite0010
- Button6.Hide()
- Button4.Show()
- Button4.Focus()
- End Sub
- Private Sub button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click
- p = 4
- c = 0
- PictureBox.image = My.Resources.de_dust2_2x2_lite0016
- button7.Hide()
- End Sub
- Private Sub button8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button8.Click
- p = 3
- c = 2
- PictureBox.image = My.Resources.de_dust2_2x2_lite0013
- button8.Hide()
- End Sub
- Private Sub button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click
- p = 5
- c = 1
- PictureBox.image = My.Resources.de_dust2_2x2_lite0060
- Button9.Hide()
- Button11.Show()
- Button11.Focus()
- End Sub
- Private Sub button10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button10.Click
- p = 4
- c = 3
- PictureBox.image = My.Resources.de_dust2_2x2_lite0019
- button10.Hide()
- End Sub
- Private Sub button11_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button11.Click
- p = 6
- c = 1
- PictureBox.image = My.Resources.de_dust2_2x2_lite0064
- button11.Hide()
- End Sub
- Private Sub button12_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button12.Click
- p = 5
- c = 3
- PictureBox.image = My.Resources.de_dust2_2x2_lite0062
- Button12.Hide()
- Button10.Show()
- Button10.Focus()
- End Sub
- Private Sub button13_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button13.Click
- p = 7
- c = 0
- PictureBox.image = My.Resources.de_dust2_2x2_lite0068
- Button13.Hide()
- Button15.Show()
- Button15.Focus()
- End Sub
- Private Sub button14_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button14.Click
- p = 6
- c = 2
- PictureBox.image = My.Resources.de_dust2_2x2_lite0065
- button14.Hide()
- End Sub
- Private Sub button15_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button15.Click
- p = 8
- c = 0
- PictureBox.image = My.Resources.de_dust2_2x2_lite0072
- button15.Hide()
- End Sub
- Private Sub button16_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button16.Click
- p = 7
- c = 2
- PictureBox.image = My.Resources.de_dust2_2x2_lite0070
- Button16.Hide()
- Button14.Show()
- Button14.Focus()
- End Sub
- Private Sub button17_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button17.Click
- p = 9
- c = 1
- PictureBox.image = My.Resources.de_dust2_2x2_lite0076
- Button17.Hide()
- Button19.Show()
- Button19.Focus()
- End Sub
- Private Sub button18_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button18.Click
- p = 8
- c = 3
- PictureBox.image = My.Resources.de_dust2_2x2_lite0075
- button18.Hide()
- End Sub
- Private Sub button19_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button19.Click
- p = 10
- c = 1
- PictureBox.image = My.Resources.de_dust2_2x2_lite0088
- button19.Hide()
- End Sub
- Private Sub button20_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button20.Click
- p = 9
- c = 3
- PictureBox.image = My.Resources.de_dust2_2x2_lite0078
- Button20.Hide()
- Button18.Show()
- Button18.Focus()
- End Sub
- Private Sub button21_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button21.Click
- p = 11
- c = 2
- PictureBox.image = My.Resources.de_dust2_2x2_lite0093
- button21.Hide()
- End Sub
- Private Sub button22_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button22.Click
- p = 10
- c = 0
- PictureBox.image = My.Resources.de_dust2_2x2_lite0091
- button22.Hide()
- End Sub
- Private Sub button23_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button23.Click
- p = 12
- c = 3
- PictureBox.image = My.Resources.de_dust2_2x2_lite0059
- Button23.Hide()
- Button25.Show()
- Button25.Focus()
- End Sub
- Private Sub button24_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button24.Click
- p = 11
- c = 1
- PictureBox.image = My.Resources.de_dust2_2x2_lite0092
- button24.Hide()
- End Sub
- Private Sub button25_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button25.Click
- p = 13
- c = 3
- PictureBox.image = My.Resources.de_dust2_2x2_lite0100
- Button25.Hide()
- Button27.Show()
- Button27.Focus()
- End Sub
- Private Sub button26_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button26.Click
- p = 12
- c = 1
- PictureBox.image = My.Resources.de_dust2_2x2_lite0057
- button26.Hide()
- End Sub
- Private Sub button27_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button27.Click
- PictureBox.image = My.Resources.de_dust2_2x2_lite0096
- button27.Hide()
- End Sub
- Private Sub button28_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button28.Click
- p = 14
- c = 2
- PictureBox.image = My.Resources.de_dust2_2x2_lite0020
- button28.Hide()
- End Sub
- Private Sub button29_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button29.Click
- p = 2
- c = 0
- PictureBox.image = My.Resources.de_dust2_2x2_lite0011
- button29.Hide()
- End Sub
- Private Sub button30_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button30.Click
- p = 15
- c = 1
- PictureBox.image = My.Resources.de_dust2_2x2_lite0024
- button30.Hide()
- Button32.Show()
- Button32.Focus()
- End Sub
- Private Sub button31_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button31.Click
- p = 14
- c = 3
- PictureBox.image = My.Resources.de_dust2_2x2_lite0021
- button31.Hide()
- End Sub
- Private Sub button32_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button32.Click
- p = 22
- c = 1
- PictureBox.image = My.Resources.de_dust2_2x2_lite0036
- button32.Hide()
- End Sub
- Private Sub button33_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button33.Click
- p = 15
- c = 3
- PictureBox.image = My.Resources.de_dust2_2x2_lite0026
- button33.Hide()
- Button31.Show()
- Button31.Focus()
- End Sub
- Private Sub button34_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button34.Click
- p = 16
- c = 0
- PictureBox.image = My.Resources.de_dust2_2x2_lite0034
- button34.Hide()
- Button36.Show()
- Button36.Focus()
- End Sub
- Private Sub button35_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button35.Click
- p = 15
- c = 2
- PictureBox.image = My.Resources.de_dust2_2x2_lite0025
- button35.Hide()
- End Sub
- Private Sub button36_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button36.Click
- p = 17
- c = 0
- PictureBox.image = My.Resources.de_dust2_2x2_lite0031
- button36.Hide()
- End Sub
- Private Sub button37_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button37.Click
- p = 16
- c = 2
- PictureBox.image = My.Resources.de_dust2_2x2_lite0032
- button37.Hide()
- Button35.Show()
- Button35.Focus()
- End Sub
- Private Sub button38_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button38.Click
- p = 3
- c = 3
- PictureBox.image = My.Resources.de_dust2_2x2_lite0014
- button38.Hide()
- Button6.Show()
- Button6.Focus()
- End Sub
- Private Sub button39_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button39.Click
- p = 17
- c = 1
- PictureBox.image = My.Resources.de_dust2_2x2_lite0028
- button39.Hide()
- End Sub
- Private Sub button40_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button40.Click
- p = 18
- c = 1
- PictureBox.image = My.Resources.de_dust2_2x2_lite0040
- button40.Hide()
- End Sub
- Private Sub button41_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button41.Click
- p = 16
- c = 3
- PictureBox.image = My.Resources.de_dust2_2x2_lite0033
- button41.Hide()
- End Sub
- Private Sub button42_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button42.Click
- p = 19
- c = 0
- PictureBox.image = My.Resources.de_dust2_2x2_lite0044
- button42.Hide()
- End Sub
- Private Sub button43_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button43.Click
- p = 18
- c = 2
- PictureBox.image = My.Resources.de_dust2_2x2_lite0041
- button43.Hide()
- End Sub
- Private Sub button44_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button44.Click
- p = 20
- c = 1
- PictureBox.image = My.Resources.de_dust2_2x2_lite0048
- button44.Hide()
- Button46.Show()
- Button46.Focus()
- End Sub
- Private Sub button45_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button45.Click
- p = 19
- c = 3
- PictureBox.image = My.Resources.de_dust2_2x2_lite0047
- button45.Hide()
- End Sub
- Private Sub button46_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button46.Click
- p = 21
- c = 1
- PictureBox.image = My.Resources.de_dust2_2x2_lite0052
- button46.Hide()
- End Sub
- Private Sub button47_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button47.Click
- p = 20
- c = 3
- PictureBox.image = My.Resources.de_dust2_2x2_lite0050
- button47.Hide()
- Button45.Show()
- Button45.Focus()
- End Sub
- Private Sub button48_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button48.Click
- p = 12
- c = 0
- PictureBox.image = My.Resources.de_dust2_2x2_lite0056
- button48.Hide()
- End Sub
- Private Sub button49_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button49.Click
- p = 21
- c = 2
- PictureBox.image = My.Resources.de_dust2_2x2_lite0053
- button49.Hide()
- End Sub
- Private Sub button50_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button50.Click
- p = 23
- c = 2
- PictureBox.image = My.Resources.de_dust2_2x2_lite0080
- button50.Hide()
- Button52.Show()
- Button52.Focus()
- End Sub
- Private Sub button51_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button51.Click
- p = 9
- c = 0
- PictureBox.image = My.Resources.de_dust2_2x2_lite0079
- button51.Hide()
- End Sub
- Private Sub button52_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button52.Click
- p = 24
- c = 2
- PictureBox.image = My.Resources.de_dust2_2x2_lite0084
- button52.Hide()
- End Sub
- Private Sub button53_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button53.Click
- p = 23
- c = 0
- PictureBox.image = My.Resources.de_dust2_2x2_lite0082
- button53.Hide()
- Button51.Show()
- Button51.Focus()
- End Sub
- Private Sub Button1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button1.KeyDown
- If e.KeyCode = Keys.W Then
- Button1.Invoke(New EventHandler(AddressOf button1_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button2_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button2.KeyDown
- If e.KeyCode = Keys.W Then
- Button2.Invoke(New EventHandler(AddressOf button2_Click))
- e.Handled = True
- End If
- End Sub
- ''''''
- Private Sub Button3_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button3.KeyDown
- If e.KeyCode = Keys.W Then
- Button3.Invoke(New EventHandler(AddressOf button3_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button4_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button4.KeyDown
- If e.KeyCode = Keys.W Then
- Button4.Invoke(New EventHandler(AddressOf button4_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button5_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button5.KeyDown
- If e.KeyCode = Keys.W Then
- Button5.Invoke(New EventHandler(AddressOf button5_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button6_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button6.KeyDown
- If e.KeyCode = Keys.W Then
- Button6.Invoke(New EventHandler(AddressOf button6_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button7_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button7.KeyDown
- If e.KeyCode = Keys.W Then
- Button7.Invoke(New EventHandler(AddressOf button7_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button8_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button8.KeyDown
- If e.KeyCode = Keys.W Then
- Button8.Invoke(New EventHandler(AddressOf button8_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button9_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button9.KeyDown
- If e.KeyCode = Keys.W Then
- Button9.Invoke(New EventHandler(AddressOf button9_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button10_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button10.KeyDown
- If e.KeyCode = Keys.W Then
- Button10.Invoke(New EventHandler(AddressOf button10_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button11_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button11.KeyDown
- If e.KeyCode = Keys.W Then
- Button11.Invoke(New EventHandler(AddressOf button11_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button12_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button12.KeyDown
- If e.KeyCode = Keys.W Then
- Button12.Invoke(New EventHandler(AddressOf button12_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button13_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button13.KeyDown
- If e.KeyCode = Keys.W Then
- Button13.Invoke(New EventHandler(AddressOf button13_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button14_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button14.KeyDown
- If e.KeyCode = Keys.W Then
- Button14.Invoke(New EventHandler(AddressOf button14_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button15_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button15.KeyDown
- If e.KeyCode = Keys.W Then
- Button15.Invoke(New EventHandler(AddressOf button15_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button16_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button16.KeyDown
- If e.KeyCode = Keys.W Then
- Button16.Invoke(New EventHandler(AddressOf button16_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button17_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button17.KeyDown
- If e.KeyCode = Keys.W Then
- Button17.Invoke(New EventHandler(AddressOf button17_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button18_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button18.KeyDown
- If e.KeyCode = Keys.W Then
- Button18.Invoke(New EventHandler(AddressOf button18_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button19_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button19.KeyDown
- If e.KeyCode = Keys.W Then
- Button19.Invoke(New EventHandler(AddressOf button19_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button20_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button20.KeyDown
- If e.KeyCode = Keys.W Then
- Button20.Invoke(New EventHandler(AddressOf button20_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button21_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button21.KeyDown
- If e.KeyCode = Keys.W Then
- Button21.Invoke(New EventHandler(AddressOf button21_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button22_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button22.KeyDown
- If e.KeyCode = Keys.W Then
- Button22.Invoke(New EventHandler(AddressOf button22_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button23_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button23.KeyDown
- If e.KeyCode = Keys.W Then
- Button23.Invoke(New EventHandler(AddressOf button23_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button24_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button24.KeyDown
- If e.KeyCode = Keys.W Then
- Button24.Invoke(New EventHandler(AddressOf button24_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button25_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button25.KeyDown
- If e.KeyCode = Keys.W Then
- Button25.Invoke(New EventHandler(AddressOf button25_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button26_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button26.KeyDown
- If e.KeyCode = Keys.W Then
- Button26.Invoke(New EventHandler(AddressOf button26_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button27_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button27.KeyDown
- If e.KeyCode = Keys.W Then
- Button27.Invoke(New EventHandler(AddressOf button27_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button28_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button28.KeyDown
- If e.KeyCode = Keys.W Then
- Button28.Invoke(New EventHandler(AddressOf button28_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button29_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button29.KeyDown
- If e.KeyCode = Keys.W Then
- Button29.Invoke(New EventHandler(AddressOf button29_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button30_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button30.KeyDown
- If e.KeyCode = Keys.W Then
- Button30.Invoke(New EventHandler(AddressOf button30_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button31_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button31.KeyDown
- If e.KeyCode = Keys.W Then
- Button31.Invoke(New EventHandler(AddressOf button31_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button32_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button32.KeyDown
- If e.KeyCode = Keys.W Then
- Button32.Invoke(New EventHandler(AddressOf button32_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button33_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button33.KeyDown
- If e.KeyCode = Keys.W Then
- Button33.Invoke(New EventHandler(AddressOf button33_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button34_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button34.KeyDown
- If e.KeyCode = Keys.W Then
- Button34.Invoke(New EventHandler(AddressOf button34_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button35_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button35.KeyDown
- If e.KeyCode = Keys.W Then
- Button35.Invoke(New EventHandler(AddressOf button35_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button36_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button36.KeyDown
- If e.KeyCode = Keys.W Then
- Button36.Invoke(New EventHandler(AddressOf button36_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button37_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button37.KeyDown
- If e.KeyCode = Keys.W Then
- Button37.Invoke(New EventHandler(AddressOf button37_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button38_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button38.KeyDown
- If e.KeyCode = Keys.W Then
- Button38.Invoke(New EventHandler(AddressOf button38_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button39_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button39.KeyDown
- If e.KeyCode = Keys.W Then
- Button39.Invoke(New EventHandler(AddressOf button39_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button40_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button40.KeyDown
- If e.KeyCode = Keys.W Then
- Button40.Invoke(New EventHandler(AddressOf button40_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button41_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button41.KeyDown
- If e.KeyCode = Keys.W Then
- Button41.Invoke(New EventHandler(AddressOf button41_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button42_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button42.KeyDown
- If e.KeyCode = Keys.W Then
- Button42.Invoke(New EventHandler(AddressOf button42_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button43_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button43.KeyDown
- If e.KeyCode = Keys.W Then
- Button43.Invoke(New EventHandler(AddressOf button43_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button44_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button44.KeyDown
- If e.KeyCode = Keys.W Then
- Button44.Invoke(New EventHandler(AddressOf button44_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button45_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button45.KeyDown
- If e.KeyCode = Keys.W Then
- Button45.Invoke(New EventHandler(AddressOf button45_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button46_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button46.KeyDown
- If e.KeyCode = Keys.W Then
- Button46.Invoke(New EventHandler(AddressOf button46_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button47_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button47.KeyDown
- If e.KeyCode = Keys.W Then
- Button47.Invoke(New EventHandler(AddressOf button47_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button48_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button48.KeyDown
- If e.KeyCode = Keys.W Then
- Button48.Invoke(New EventHandler(AddressOf button48_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button49_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button49.KeyDown
- If e.KeyCode = Keys.W Then
- Button49.Invoke(New EventHandler(AddressOf button49_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button50_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button50.KeyDown
- If e.KeyCode = Keys.W Then
- Button50.Invoke(New EventHandler(AddressOf button50_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button51_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button51.KeyDown
- If e.KeyCode = Keys.W Then
- Button51.Invoke(New EventHandler(AddressOf button51_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button52_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button52.KeyDown
- If e.KeyCode = Keys.W Then
- Button52.Invoke(New EventHandler(AddressOf button52_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button53_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button53.KeyDown
- If e.KeyCode = Keys.W Then
- Button53.Invoke(New EventHandler(AddressOf button53_Click))
- e.Handled = True
- End If
- End Sub
- Private Sub Button54_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button54.Click ' Террористы
- PictureBox.Show()
- p = 0
- c = 0
- PictureBox.Image = My.Resources.de_dust2_2x2_lite0000
- s = 1
- Button1.Show()
- Button1.Focus()
- Button54.Hide()
- Button55.Hide()
- Button66.Hide()
- TextBox2.Hide()
- End Sub
- Private Sub Button55_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button55.Click ' Контртеррористы
- PictureBox.Show()
- p = 24
- c = 0
- PictureBox.Image = My.Resources.de_dust2_2x2_lite0086
- s = 2
- Button53.Show()
- Button53.Focus()
- Button54.Hide()
- Button55.Hide()
- Button66.Hide()
- TextBox2.Hide()
- End Sub
- Private Sub Button56_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button56.Click ' Закупка
- If s = 1 Then
- End If
- End Sub
- Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
- PictureBox3.Show()
- PictureBox3.Image = My.Resources.CS_zastavka
- Timer2.Start()
- End Sub
- Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
- PictureBox3.Image = My.Resources.CS_zastavka1
- Timer1.Stop()
- Timer3.start()
- End Sub
- Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick
- PictureBox3.Hide()
- PictureBox2.Show()
- Button57.Show()
- Button58.Show()
- Button59.Show()
- Button60.Show()
- Button61.Show()
- Timer2.Stop()
- Timer3.Stop()
- End Sub
- Private Sub Button57_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button57.Click ' Выйти
- Button57.Hide()
- Button58.Hide()
- Button59.Hide()
- Button60.Hide()
- Button61.Hide()
- If MessageBox.Show("Вы действительно хотите выйти?", "Выход", MessageBoxButtons.YesNo, MessageBoxIcon.Question) = Windows.Forms.DialogResult.Yes Then
- Close()
- Else
- Button57.Show()
- Button58.Show()
- Button59.Show()
- Button60.Show()
- Button61.Show()
- End If
- End Sub
- Private Sub Button61_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button61.Click ' Новая игра
- PictureBox2.Hide()
- Button54.Show()
- Button55.Show()
- Button66.Show()
- TextBox2.Show()
- Button57.Hide()
- Button58.Hide()
- Button59.Hide()
- Button60.Hide()
- Button61.Hide()
- End Sub
- Private Sub Button60_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button60.Click ' Настройки
- PictureBox4.Show()
- Button62.Show()
- Button63.Show()
- Button64.Show()
- Button65.Show()
- Label1.Show()
- TextBox1.Show()
- Button57.Hide()
- Button58.Hide()
- Button59.Hide()
- Button60.Hide()
- Button61.Hide()
- End Sub
- Private Sub Button64_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button64.Click ' ОК в настройках
- n = TextBox1.Text
- PictureBox4.Hide()
- Button62.Hide()
- Button63.Hide()
- Button64.Hide()
- Button65.Hide()
- Label1.Hide()
- TextBox1.Hide()
- Button57.Show()
- Button58.Show()
- Button59.Show()
- Button60.Show()
- Button61.Show()
- CheckBox1.Hide()
- CheckBox2.Hide()
- End Sub
- Private Sub Button65_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button65.Click ' Отмена в настройках
- PictureBox4.Hide()
- Button62.Hide()
- Button63.Hide()
- Button64.Hide()
- Button65.Hide()
- Label1.Hide()
- TextBox1.Hide()
- Button57.Show()
- Button58.Show()
- Button59.Show()
- Button60.Show()
- Button61.Show()
- CheckBox1.Hide()
- CheckBox2.Hide()
- End Sub
- Private Sub Button58_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button58.Click
- Button57.Hide()
- Button58.Hide()
- Button59.Hide()
- Button60.Hide()
- Button61.Hide()
- If MessageBox.Show("Powered by Larionov Sergey, 13PK group", "Справка", MessageBoxButtons.OK, MessageBoxIcon.Information) = Windows.Forms.DialogResult.OK Then
- Button57.Show()
- Button58.Show()
- Button59.Show()
- Button60.Show()
- Button61.Show()
- End If
- End Sub
- Private Sub Button59_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button59.Click
- Button57.Hide()
- Button58.Hide()
- Button59.Hide()
- Button60.Hide()
- Button61.Hide()
- If MessageBox.Show("'W' - вперед, 'K' и 'L' - поворот камеры", "Помощь", MessageBoxButtons.OK, MessageBoxIcon.Information) = Windows.Forms.DialogResult.OK Then
- Button57.Show()
- Button58.Show()
- Button59.Show()
- Button60.Show()
- Button61.Show()
- End If
- End Sub
- Private Sub Button62_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button62.Click ' "Игра" в настройках
- PictureBox4.Show()
- Button62.Show()
- Button63.Show()
- Button64.Show()
- Button65.Show()
- Label1.Show()
- TextBox1.Show()
- Button57.Hide()
- Button58.Hide()
- Button59.Hide()
- Button60.Hide()
- Button61.Hide()
- CheckBox1.Hide()
- CheckBox2.Hide()
- End Sub
- Private Sub Button63_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button63.Click ' "Звук" в настройках
- PictureBox4.Show()
- Button64.Show()
- Button65.Show()
- CheckBox1.Show()
- CheckBox2.Show()
- Button57.Hide()
- Button58.Hide()
- Button59.Hide()
- Button60.Hide()
- Button61.Hide()
- TextBox1.Hide()
- Label1.Hide()
- End Sub
- Private Sub Button66_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button66.Click ' "выбрать случайно" в выборе команд
- s = ra.Next(2)
- TextBox3.Text = s
- If TextBox3.Text = 0 Then ' Террористы
- PictureBox.Show()
- p = 0
- c = 0
- PictureBox.Image = My.Resources.de_dust2_2x2_lite0000
- s = 1
- Button1.Show()
- Button1.Focus()
- Button54.Hide()
- Button55.Hide()
- Button66.Hide()
- TextBox2.Hide()
- End If
- If TextBox3.Text = 1 Then ' Контртеррористы
- PictureBox.Show()
- p = 24
- c = 0
- PictureBox.Image = My.Resources.de_dust2_2x2_lite0086
- s = 2
- Button53.Show()
- Button53.Focus()
- Button54.Hide()
- Button55.Hide()
- Button66.Hide()
- TextBox2.Hide()
- End If
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement