예제 #1
0
        protected void onPublishUpdateProgressChanged(publishUpdateProgressChangedEventArgs e)
        {
            EventHandler <publishUpdateProgressChangedEventArgs> handler = publishUpdateProgressChanged;

            if (handler != null)
            {
                handler(this, e);
            }
        }
예제 #2
0
		protected void onPublishUpdateProgressChanged(publishUpdateProgressChangedEventArgs e) {
			EventHandler<publishUpdateProgressChangedEventArgs> handler = publishUpdateProgressChanged;
			if (handler != null) handler(this, e);
		}
		void provider_publishUpdateProgressChanged(object sender, publishUpdateProgressChangedEventArgs e) {
			int percentDone = Helper.Percent(Helper.Percent(e.currentFile, e.maxFileCount) + (100*_valueMultiplier),
			                                 (100*_provider.Count));
			bgwPublish.ReportProgress(percentDone, sender);
		}