Butona Basınca Progress Bar Dolacak 100e Geldiğinde İstediğim Sayfayı Açacak Kodları Atabilirmisiniz
Follow along with the video below to see how to install our site as a web app on your home screen.
Not: This feature may not be available in some browsers.
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
If ProgressBar1.Value = ProgressBar1.Maximum Then
ProgressBar1.Value = 1
Else
ProgressBar1.Value = ProgressBar1.Value + 1
End If
End Sub
c# Olacak BaşkanBuyur Bakalım.
1 Tane Progressbar
1 Tane Timer
Properties'ten timer'in enable kısmını "true", yap.
Progresbarı = 100 min= 1 step= 10 olarak ayarla
Kod:Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick If ProgressBar1.Value = ProgressBar1.Maximum Then ProgressBar1.Value = 1 Else ProgressBar1.Value = ProgressBar1.Value + 1 End If End Sub
c# Olacak Başkan
Mesaj Olarak Döneceğim.