Funzionamento del ProgressBar1

lunedì 26 novembre 2012 - 12.51

Carmelo1965 Profilo | Junior Member

Ciao a tutti, ho risolto e messo in pratica la gestione Progressbar1 nel seguente modo:
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick

If ProgressBar1.Value = 100 Then ' questo avviene alla fine del ciclo se è vero.
Ricerca.Show()
Password.Text = ""
USERD.Text = ""
Dim chiudi As New Anagrafica
Me.Hide()

ElseIf USERD.Text.ToUpper = "Andrea " And Password.Text = "ciao" Then ' se è vero

Timer1.Enabled = False
ElseIf USERD.Text <> "Andrea " And Password.Text <> "ciao" Then se è falsa
Timer1.Stop()
Ricerca.Hide()

MsgBox("Inserire Nome Utente e Password Valida", MsgBoxStyle.Information)
Password.Text = ""
USERD.Text = ""


Else ' se è vera inizia il progressbar ad avviarsi
ProgressBar1.Value = ProgressBar1.Value + 1

End If


End Sub

HolidaySoft.it Profilo | Junior Member

Quindi è risolto o hai ancora bisogno di aiuto??

Ciao
Mik
A quick solution is a shortcut to troubleshooting
http://www.HolidaySoft.it
http://www.GarganoSapori.it
http://www.osteriaoristorante.it

Carmelo1965 Profilo | Junior Member

Risolto grazie mille :-)
Una giornata solare e buon lavoro :-)
Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?

Dopo esserti registrato potrai chiedere
aiuto sul nostro Forum oppure aiutare gli altri

Consulta le Stanze disponibili.

Registrati ora !
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5