${mapping_ProgressEventArgs_Title}
${mapping_ProgressEventArgs_Exception}
Inheritance: System.EventArgs
        private void map_Progress(object sender, ProgressEventArgs e)
        {
            if (this.bar != null)
            {
                this.bar.Value = (double)e.Progress;

            }
            if (this.text != null)
            {
                this.text.Text = string.Format("{0}%", e.Progress);
            }
            this.isVisible = e.Progress < 99;
            this.ChangeVisualState(true);
        }
Exemple #2
0
 private void layersProgressHandler(object sender, ProgressEventArgs args)
 {
     if (this.Progress != null)
     {
         this.Progress(this, args);
     }
 }