Guest User

Untitled

a guest
Oct 17th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. {
  2. if (time > 1)
  3. {
  4. time--;
  5. timertxt.Text = string.Format("00:0{0}:{1}", time / 60, time % 60);
  6.  
  7. }
  8. else
  9. {
  10. Timer.Stop();
  11. MessageBox.Show("Auction is off !","Error !",MessageBoxButton.OK,MessageBoxImage.Error);
  12.  
  13. AuctionIDtxt.Clear();
  14. Productnametxt.Clear();
  15. pricetxt.Clear();
  16. descriptiontxtblock.Clear();
  17.  
  18. winnerislbl.IsVisible.Equals(true);
  19. winnerislbl.Content = "winner is:" ;
  20. winuserlbl.Content = UserLbl;
  21.  
  22.  
  23.  
  24. }
  25.  
  26. }
Add Comment
Please, Sign In to add comment