Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- if (time > 1)
- {
- time--;
- timertxt.Text = string.Format("00:0{0}:{1}", time / 60, time % 60);
- }
- else
- {
- Timer.Stop();
- MessageBox.Show("Auction is off !","Error !",MessageBoxButton.OK,MessageBoxImage.Error);
- AuctionIDtxt.Clear();
- Productnametxt.Clear();
- pricetxt.Clear();
- descriptiontxtblock.Clear();
- winnerislbl.IsVisible.Equals(true);
- winnerislbl.Content = "winner is:" ;
- winuserlbl.Content = UserLbl;
- }
- }
Add Comment
Please, Sign In to add comment