Delegate

Wikis > C# Wiki > Delegate

delegate void delegateUpdateProgress(int _ProgressValue);

this.Invoke(new delegateUpdateProgress(this.UpdateProgress), new object[] { 'some value' });

private void UpdateProgress(int _ProgressValue)
{

   this.UltraStatusBar.Panels["Progress"].Visible = true;
   this.UltraStatusBar.Panels["Progress"].ProgressBarInfo.Value = _ProgressValue;

}

MSDN Artikel

Category: Tags:
Von |2015-06-15T21:35:37+00:00Juni 15th, 2015|Kommentare deaktiviert für Delegate

About the Author:

Frank Uray