private void SetProgressBar1(int intValue) { if (this.Init.progressBar1.InvokeRequired) { MDIParent.delegateInitData method = new MDIParent.delegateInitData(this.SetProgressBar1); base.Invoke(method, new object[] { intValue }); } else { this.Init.progressBar1.Value += intValue; } }
private void SetProgressBar1(int intValue) { if (this.Init.progressBar1.InvokeRequired) { MDIParent.delegateInitData method = new MDIParent.delegateInitData(this.SetProgressBar1); base.Invoke(method, new object[] { intValue }); } else { this.Init.progressBar1.Value += intValue; } }