示例#1
0
        private void cellShare_DataContextChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            ProgressBarEdit bar  = ((ProgressBarEdit)sender);
            CellsAreaItem   item = bar.DataContext as CellsAreaItem;

            if (item == null)
            {
                return;
            }
            bar.Maximum = Convert.ToDouble(item.RowTotalValue);
            bar.Value   = Convert.ToDouble(item.Value);
        }
示例#2
0
 public MyProgressIndicatorService(IServiceProvider provider, ProgressBarEdit indicator)
 {
     _Indicator = indicator;
 }