/// <summary> /// Call this to notify users of percentage of completion of operation. /// </summary> /// <param name="percent">Percent complete.</param> private void OnUploadProgressChanged(int percent) { if (UploadProgressChanged != null) { var progressEventArgs = new TwitterProgressEventArgs { PercentComplete = percent }; UploadProgressChanged(this, progressEventArgs); } }
/// <summary> /// Call this to notify users of percentage of completion of operation. /// </summary> /// <param name="percent">Percent complete.</param> private void OnUploadProgressChanged(int percent) { if (UploadProgressChanged != null) { var progressEventArgs = new TwitterProgressEventArgs { PercentComplete = percent }; UploadProgressChanged(this, progressEventArgs); } }