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