示例#1
0
 private void PatchController_BuildStepChanged(object sender, Classes.StringEventArgs e)
 {
     this.syncContext?.Post(new System.Threading.SendOrPostCallback(delegate
     {
         this.building_currentitem.Content = $"Applying translation file {e.Value}";
     }), null);
 }
示例#2
0
 private void PatchController_DownloadBegin(object sender, Classes.StringEventArgs e)
 {
     this.syncContext?.Post(new System.Threading.SendOrPostCallback(delegate
     {
         // this.Working.IsSelected = true;
         if (this.progressPercent.IsSelected != true)
         {
             this.progressPercent.IsSelected = true;
         }
         this.building_currentitem.Content = $"Downloading {e.Value}";
     }), null);
 }