Beispiel #1
0
        void ButtonVoltarClick(object sender, EventArgs e)
        {
            this.Visible = false;

            /* Chama a Janela Inicial */
            JanelaInicial janelaInicial = new JanelaInicial();

            janelaInicial.Show();
        }
Beispiel #2
0
        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();
            }
        }