void ButtonVoltarClick(object sender, EventArgs e) { this.Visible = false; /* Chama a Janela Inicial */ JanelaInicial janelaInicial = new JanelaInicial(); janelaInicial.Show(); }
void TimerTick(object sender, EventArgs e) { if (progressBar.Value < 100) { progressBar.Value = progressBar.Value + 2; } else { timer.Enabled = false; this.Visible = false; /* Chama a Janela Inicial */ JanelaInicial janelaInicial = new JanelaInicial(); janelaInicial.Show(); } }