Beispiel #1
0
 protected virtual void OnProgressChange(Iso2GodProgressArgs e)
 {
     if (this.Progress != null)
     {
         this.Progress(this, e);
     }
 }
Beispiel #2
0
 private void i2g_Progress(object sender, Iso2GodProgressArgs e)
 {
     foreach (ListViewItem item in this.listView1.Items)
     {
         IsoEntry tag = (IsoEntry)item.Tag;
         if (tag.Status == IsoEntryStatus.InProgress)
         {
             ((ProgressBar)this.listView1.GetEmbeddedControl(5, item.Index)).Value = (e.Percentage > 100) ? 100 : e.Percentage;
             item.SubItems[6].Text = e.Message;
             item.Tag = tag;
             break;
         }
     }
 }
Beispiel #3
0
 private void i2g_Progress(object sender, Iso2GodProgressArgs e)
 {
     foreach (ListViewItem item in this.listView1.Items)
     {
         IsoEntry tag = (IsoEntry) item.Tag;
         if (tag.Status == IsoEntryStatus.InProgress)
         {
             ((ProgressBar) this.listView1.GetEmbeddedControl(5, item.Index)).Value = (e.Percentage > 100) ? 100 : e.Percentage;
             item.SubItems[6].Text = e.Message;
             item.Tag = tag;
             break;
         }
     }
 }
Beispiel #4
0
 protected virtual void OnProgressChange(Iso2GodProgressArgs e)
 {
     if (this.Progress != null)
     {
         this.Progress(this, e);
     }
 }