void DownloadService_DownloadProgress(object sender, Services.EventArgs <KeyValuePair <int, object> > e) { if (e.Data.Key == 0) { WriteLog(e.Data.Value.ToString()); } else if (e.Data.Key == -1) { uxProgressBar.Value = int.Parse(e.Data.Value.ToString()); } else if (e.Data.Key == -2) { uxSubProgressBar.Value = int.Parse(e.Data.Value.ToString()); } }
private void ElementControl_ItemTapped(object sender, Services.EventArgs <ElementBase> e) { int i = 0; }