Public Class Form1
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
ProgressBar1.Increment(1)
If ProgressBar1.Value = ProgressBar1.Maximum Then
Timer1.Stop()
Dim key As Integer
key = (Rnd() * 1)
Select Case key
Case 1
End Select
MessageBox.Show("Please check your gold in-game", "Success")
Else
If ProgressBar1.Value = 1 Then
Label7.Text = "Loading.."
End If
If ProgressBar1.Value = 15 Then
Label7.Text = "Detect Device"
End If
If ProgressBar1.Value = 25 Then
Label2.Text = "Android 4.0.1"
End If
If ProgressBar1.Value = 45 Then
Label7.Text = "Connected!"
End If
If ProgressBar1.Value = 55 Then
Label7.Text = "Searching character on selected server.."
End If
If ProgressBar1.Value = 80 Then
Label7.Text = "Characted found!"
End If
If ProgressBar1.Value = 86 Then
Label7.Text = "Transfer ALZ to character.."
End If
If ProgressBar1.Value = 95 Then
Label7.Text = "Success!"
End If
End If
End Sub
I właśnie chodzi o to jak zrobić takie coś ,żeby podczas Android 4.0.1 z czerwonego koloru tekstu zmieniło się na zielony .
(Ten post był ostatnio modyfikowany: 23-09-2013, 09:26 przez Matty094.)
If ProgressBar1.Value = 1 Then
Label7.Text = "Loading.."
End If
To jeszcze musimy dołożyć :
Label2.ForeColor = Color.Red
Powinno być tak :
Kod:
If ProgressBar1.Value = 1 Then
Label7.Text = "Loading.."
Label7.ForeColor = Color.Red
End If
W miejsce color wstawiamy nazwę koloru po angielsku np. green , Yellow .
I Program sam zmieni nam kolor z czerwonego na zielony
Może trochę byle jak tłumaczę ,ale jak ktoś czegoś nie rozumie to zapraszam na PW chętnie pomogę
(Ten post był ostatnio modyfikowany: 23-09-2013, 15:26 przez Matty094.)