コード例 #1
0
 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());
     }
 }
コード例 #2
0
 private void ElementControl_ItemTapped(object sender, Services.EventArgs <ElementBase> e)
 {
     int i = 0;
 }