private void LoadVirtualBider() { cboRole.SelectedValue = _virtualBidder.Role.IdRole; DataControl.Text(txbNameVirtualBidder, _virtualBidder.NameBidder); DataControl.Text(txbDescriptionVirtuaBidder, _virtualBidder.DescriptionBidder); DataControl.Text(txbWalletVirtualBidder, _virtualBidder.Wallet.ToString(CultureInfo.CurrentCulture)); }
private void LoadProduct() { DataControl.Text(txbIdProduct, _product.IdProduct.ToString()); DataControl.Text(txbNameProduct, _product.Name); DataControl.Text(txbInitialPrice, _product.Price.ToString(CultureInfo.InvariantCulture)); DataControl.Text(txbPointsValue, _product.Points.ToString(CultureInfo.InvariantCulture)); pboxProducto.Image = _product.ImageProduct; }
private void LoadRoutine() { DataControl.Text(txbNameRoutine, _routine.NameRoutine); DataControl.Text(txbDescriptionRoutine, _routine.DescriptionRoutine); UpdateFamilies(); UpdateProducts(); UpdateVirtualBidders(); }
private void LoadRole() { if (_role == null) { return; } var timeToBidDown = new Time(_role.TimeToBid.TimeDownSeconds, "ss").Format("mm:ss"); var timeToBidTop = new Time(_role.TimeToBid.TimeTopSeconds, "ss").Format("mm:ss"); mtxbTimeToBidDown.Text = timeToBidDown; mtxbTimeToBidTop.Text = timeToBidTop; DataControl.Text(txbNameRole, _role.NameRole); DataControl.Text(txbDescriptionRole, _role.DescriptionRole); DataControl.Text(txbOfersForRoundDown, _role.OffertsForRound.DownValue.ToString()); DataControl.Text(txbOffersForRoundTop, _role.OffertsForRound.TopValue.ToString()); DataControl.Text(txbRoundsDown, _role.Rounds.DownValue.ToString()); DataControl.Text(txbRoundsTop, _role.Rounds.TopValue.ToString()); DataControl.Text(txbBidIncreaseDown, _role.BidIncrease.DownValue.ToString()); DataControl.Text(txbBidIncreaseBidTop, _role.BidIncrease.TopValue.ToString()); }
private void LoadFamily() { DataControl.Text(txbNameFamily, _family.NameFamily); DataControl.Text(txbPointsValue, _family.Points.ToString(CultureInfo.CurrentCulture)); }