示例#1
0
        private void btnGrafCandi_Click(object sender, EventArgs e)
        {
            FRGraficoCand f = new FRGraficoCand();

            f.Show();
            this.Hide();
        }
示例#2
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     progressBar1.Increment(1);
     if (progressBar1.Value == 100)
     {
         timer1.Stop();
         FRGraficoCand f = new FRGraficoCand();
         f.Show();
         this.Hide();
         MessageBox.Show("Se ha exportado el archivo en formato PDF con éxito",
                         "¡Exportación completa!");
     }
 }