private void Timer1_Tick(object sender, EventArgs e) { try { timer1.Enabled = false; if (curcolor < Colores.Count - 1) { this.BackColor = BunifuColorTransition.getColorScale(loop, Colores[curcolor], Colores[curcolor + 1]); if (loop < 100) { loop++; } else { loop = 0; curcolor++; } timer1.Enabled = true; } else { OnCerrarSplash(); } } catch (Exception error) { MessageBox.Show("Error\n" + error.Message); } }
// Token: 0x060003BF RID: 959 RVA: 0x000225F0 File Offset: 0x000207F0 private void pm(object sender, EventArgs e) { if (this.ph.ProgessValue < 100) { BunifuColorTransition bunifuColorTransition = this.ph; int progessValue = bunifuColorTransition.ProgessValue; bunifuColorTransition.ProgessValue = progessValue + 1; this.pe.ProgressColor = this.ph.Value; return; } this.pg.Stop(); this.ph.Color1 = this.ph.Color2; this.ph.ProgessValue = 0; }
// Token: 0x0600040F RID: 1039 RVA: 0x000261C8 File Offset: 0x000243C8 private void method_2(object sender, EventArgs e) { if (this.bunifuColorTransition_0.ProgessValue < 100) { BunifuColorTransition bunifuColorTransition = this.bunifuColorTransition_0; int progessValue = bunifuColorTransition.ProgessValue; bunifuColorTransition.ProgessValue = progessValue + 1; this.bunifuCircleProgressbar1.ProgressColor = this.bunifuColorTransition_0.Value; return; } this.timer_0.Stop(); this.bunifuColorTransition_0.Color1 = this.bunifuColorTransition_0.Color2; this.bunifuColorTransition_0.ProgessValue = 0; }
private void timer1_Tick(object sender, EventArgs e) { timer1.Enabled = false; if (currentColor < colors.Count - 1) { this.BackColor = BunifuColorTransition.getColorScale(a, colors[currentColor], colors[currentColor + 1]); if (a < 100) { a++; } else { a = 0; currentColor++; } timer1.Enabled = true; } }
private void Fader_Tick_1(object sender, EventArgs e) { if (cur_color < colors.Count - 1) { circle.ProgressColor = BunifuColorTransition.getColorScale(loop, colors[cur_color], colors[cur_color + 1]); if (loop < 100) { loop++; } else { loop = 0; cur_color++; } } else { cur_color = 0; } }