void RaiseHashed(TorrentCreatorEventArgs e)
		{
			Toolbox.RaiseAsyncEvent<TorrentCreatorEventArgs>(Hashed, this, e);
		}
Exemplo n.º 2
0
 private void OnHashed(object sender, TorrentCreatorEventArgs args)
 {
     progressDialog.Progress = args.OverallCompletion;
 }
		private void OnHashed(object sender, TorrentCreatorEventArgs args)
		{
			Gtk.Application.Invoke (delegate {
				progressDialog.Progress = args.OverallCompletion;
			});
		}
Exemplo n.º 4
0
 void RaiseHashed(TorrentCreatorEventArgs e)
 {
     Toolbox.RaiseAsyncEvent <TorrentCreatorEventArgs> (Hashed, this, e);
 }
Exemplo n.º 5
0
 void Creator_Hashed(object sender, TorrentCreatorEventArgs e)
 {
     Dispatcher.Invoke(new Action(() => progressBar.Value = e.FileCompletion));
 }