private void toolStripMenuItem2_Click(object sender, EventArgs e)
 {
     if (!this.conexion.hayFechaLimite())
     {
         FechaMaxMin fecha = new FechaMaxMin(this.padre);
         fecha.Show();
         this.Hide();
     }
     else
     {
         Seleccion elementoContable = new Seleccion(this.padre);
         elementoContable.Show();
         this.Hide();
     }
 }
        private void menu_abirLibroDiario(object sender, EventArgs e)
        {
            Conexion conexion = new Conexion();

            if (!conexion.hayFechaLimite())
            {
                FechaMaxMin fecha = new FechaMaxMin(this.padre);
                fecha.Show();
                this.Hide();
            }
            else
            {
                Seleccion elementoContable = new Seleccion(this.padre);
                elementoContable.Show();
                this.Hide();
            }
        }
        private void abrirLibroDiario(object sender, EventArgs e)
        {
            Conexion conexion = new Conexion();

            if (!conexion.hayFechaLimite())
            {
                FechaMaxMin fecha = new FechaMaxMin(this);
                fecha.Show();
                this.Hide();
            }
            else
            {
                LibroDiario elementoContable = new LibroDiario(this);
                elementoContable.Show();
                this.Hide();
            }
        }
Esempio n. 4
0
        private void abrirLibroDiario(object sender, EventArgs e)
        {
            Conexion conexion = new Conexion();

            if (!conexion.hayFechaLimite())
            {
                FechaMaxMin fecha = new FechaMaxMin(this);
                fecha.Show();
                this.Hide();
            }
            else
            {
                Seleccion seleccion = new Seleccion(this);
                seleccion.Show();
                this.Hide();
            }
        }