Пример #1
0
 private void OnInitializeProgressChanged(InitializeProgressChangedEventArgs e)
 {
     pbProgress.Value1 = e.ProgressPercent;
     pbProgress.Text = e.ProgressPercent.ToString() + "%";
 }
Пример #2
0
 void init_InitializeProgressChanged(object sender, InitializeProgressChangedEventArgs e)
 {
     this.Invoke(new InitializeProgressChangedDelegate(OnInitializeProgressChanged), e);
 }