private void webBrowser1_ProgressChanged(object sender, WebBrowserProgressChangedEventArgs e) { if (e.CurrentProgress == 0 || e.CurrentProgress == 90000000) { //progressBar1.Value = 90000000; progressBar1.Value = 0; progressBar1.Value = (int)e.CurrentProgress; progressBar1.Value = 90000000; } else { return; } } private void lblprogress_ChangeText(object sender, EventArgs e) { if (progressBar1.Value != 90000000) { LBLprogress.Text = "Loading"; } else { LBLprogress.Text = "Finished"; } }
90000000, change LBLprogress's text to Loading, Otherwise Finished..What am I doing wrong ??Thanks guysshould I replace EventArgs with something else? I tryed LabelEditHandler and it gave me a delegate error.