Esempio n. 1
0
        /// <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);
        }
Esempio n. 2
0
 private void ProgressChangePercent(object sender, ProgressEventArgs e)
 {
     Assert.AreEqual(actualPerc, e.Percent);
     actualPerc += actualAdd;
 }
Esempio n. 3
0
 private void ProgressChange(object sender, ProgressEventArgs e)
 {
     Assert.AreEqual(actual, e.CurrentRecord);
     actual += actualAdd;
 }