Пример #1
0
        private void setSellerAccountCount(string sellerAccount, ProgressItem progress)
        {
            progressSynchronous.SetSellerAccountValueAndTotal(sellerAccount, progress.Value, progress.Total, () =>
            {
                var uc   = new ucSellerProgressBar(sellerAccount, 0, progress.Total);
                uc.Name  = sellerAccount;
                uc.Value = progress.Value;

                this.flowLayoutPanel1.Controls.Add(uc);

                return(uc);
            });
        }
Пример #2
0
        private void setSellerAccountCount(string sellerAccount, ProgressItem progress)
        {
            progressSynchronous.SetSellerAccountValueAndTotal(sellerAccount, progress.Value, progress.Total, () =>
            {
                var uc = new ucSellerProgressBar(sellerAccount, 0, progress.Total);
                uc.Name = sellerAccount;
                uc.Value = progress.Value;

                this.flowLayoutPanel1.Controls.Add(uc);

                return uc;
            });
        }
Пример #3
0
 public void Add(string sellerAccount, ucSellerProgressBar bar)
 {
     dictUcSellerProgressBars.Add(sellerAccount, bar);
 }
Пример #4
0
 public void Add(string sellerAccount, ucSellerProgressBar bar)
 {
     dictUcSellerProgressBars.Add(sellerAccount, bar);
 }