Guest User

Untitled

a guest
Feb 24th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. private void timer1_Tick(object sender, EventArgs e)
  2. {
  3. if (bunifuCircleProgressbar1.Value < 34)
  4. {
  5. bunifuCircleProgressbar1.Value += 1;
  6. bunifuColorTransition1.Color1 = Color.Pink;
  7. bunifuColorTransition1.Color2 = Color.Yellow;
  8. bunifuColorTransition1.ProgessValue = bunifuCircleProgressbar1.Value;
  9. bunifuCircleProgressbar1.ProgressColor = bunifuColorTransition1.Value;
  10. }
  11. else if (bunifuCircleProgressbar1.Value > 34)
  12. {
  13. timer1.Stop();
  14. }
  15. }
Add Comment
Please, Sign In to add comment