/// <summary> /// Raises the Progress Event /// </summary> /// <param name="e">The Event Args</param> protected void OnProgress(ProgressEventArgs e) { if (Progress == null) return; Progress(this, e); }
private void ProgressChangePercent(object sender, ProgressEventArgs e) { Assert.AreEqual(actualPerc, e.Percent); actualPerc += actualAdd; }
private void ProgressChange(object sender, ProgressEventArgs e) { Assert.AreEqual(actual, e.CurrentRecord); actual += actualAdd; }