Exemplo n.º 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            this.Close();
            MainDestinoComprobantes frm4 = new MainDestinoComprobantes();

            frm4.Show();
        }
        private void Volver_Click(object sender, EventArgs e)
        {
            this.Close();
            MainDestinoComprobantes frm1 = new MainDestinoComprobantes();

            frm1.Show();
        }
Exemplo n.º 3
0
 private void button4_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("Cambiar el Destino de los Comprobantesen el Server?", "Confirmar", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
     {
         if (!String.IsNullOrEmpty(textBox2.Text))
         {
             Global.setPath(textBox2.Text);
         }
         string aux  = textBox2.Text + "\\Diario\\";
         string aux1 = textBox2.Text + "\\Mensual\\";
         string aux2 = textBox2.Text + "\\Liquidaciones\\";
         string aux3 = textBox2.Text + "\\LiquidacionesLibros\\";
         Directory.CreateDirectory(aux);
         Directory.CreateDirectory(aux1);
         Directory.CreateDirectory(aux2);
         Directory.CreateDirectory(aux3);
         this.Close();
         MainDestinoComprobantes frm4 = new MainDestinoComprobantes();
         frm4.Show();
     }
     else
     {
         // user clicked no
     }
 }
        private void ComprDest_Click(object sender, EventArgs e)
        {
            this.Close();
            MainDestinoComprobantes aux = new MainDestinoComprobantes();

            aux.Show();
        }